v0.5.2-pre.006-fix-010
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: kb-app-demo-desktop/src/tauri.rs
|
||||
// version: 43
|
||||
// version: 44
|
||||
|
||||
//! Tauri runtime assembly and private command wrappers.
|
||||
|
||||
@@ -38,6 +38,7 @@ pub fn run() -> ks_core::Result<()> {
|
||||
load_demo_config,
|
||||
open_demo_wallet_window,
|
||||
demo_wallet_inventory,
|
||||
demo_wallet_select_execution_wallet,
|
||||
demo_wallet_create_native,
|
||||
demo_wallet_inspect_transfer_file,
|
||||
demo_wallet_import_file,
|
||||
@@ -258,6 +259,14 @@ async fn demo_wallet_inventory(
|
||||
return crate::demo_wallet_inventory(state.inner()).await;
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
async fn demo_wallet_select_execution_wallet(
|
||||
state: tauri::State<'_, crate::AppState>,
|
||||
request: crate::DemoWalletExecutionSelectionRequest,
|
||||
) -> std::result::Result<crate::DemoWalletInventoryPayload, std::string::String> {
|
||||
return crate::demo_wallet_select_execution_wallet(state.inner(), request).await;
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
async fn demo_wallet_create_native(
|
||||
state: tauri::State<'_, crate::AppState>,
|
||||
@@ -285,7 +294,7 @@ async fn demo_wallet_import_file(
|
||||
async fn demo_wallet_export_file(
|
||||
state: tauri::State<'_, crate::AppState>,
|
||||
request: crate::DemoWalletExportRequest,
|
||||
) -> std::result::Result<(), std::string::String> {
|
||||
) -> std::result::Result<std::string::String, std::string::String> {
|
||||
return crate::demo_wallet_export_file(state.inner(), request).await;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user