gui: add import/export features in settings

This commit is contained in:
pythcoiner 2025-03-10 14:35:55 +01:00
parent 325e2dc9b9
commit 4ba6486645
No known key found for this signature in database
GPG Key ID: C1048AEEDF303B88

View File

@ -253,7 +253,6 @@ impl State for WalletSettingsState {
)))) => {
if self.modal.is_none() {
let modal =
// ExportModal::new(Some(daemon), ImportExportType::ExportBackup(backup));
ExportModal::new(Some(daemon), ImportExportType::ExportBackup(backup));
let launch = modal.launch();
self.modal = Modal::ImportExport(modal);
@ -265,7 +264,6 @@ impl State for WalletSettingsState {
Message::View(view::Message::Settings(view::SettingsMessage::ImportWallet)) => {
if self.modal.is_none() {
let modal = ExportModal::new(
// Some(daemon),
Some(daemon),
ImportExportType::Descriptor(self.wallet.main_descriptor.clone()),
);