|
|
@ -381,6 +381,7 @@ class ElectrumWindow(App, Logger): |
|
|
|
self.daemon = self.gui_object.daemon |
|
|
|
self.fx = self.daemon.fx |
|
|
|
self.use_rbf = config.get('use_rbf', True) |
|
|
|
self.android_backups = config.get('android_backups', False) |
|
|
|
self.use_unconfirmed = not config.get('confirmed_only', False) |
|
|
|
|
|
|
|
# create triggers so as to minimize updating a max of 2 times a sec |
|
|
@ -1244,7 +1245,12 @@ class ElectrumWindow(App, Logger): |
|
|
|
request_permissions([Permission.WRITE_EXTERNAL_STORAGE], cb) |
|
|
|
|
|
|
|
def _save_backup(self): |
|
|
|
try: |
|
|
|
new_path = self.wallet.save_backup() |
|
|
|
except Exception as e: |
|
|
|
self.logger.exception("Failed to save wallet backup") |
|
|
|
self.show_error("Failed to save wallet backup" + '\n' + str(e)) |
|
|
|
return |
|
|
|
if new_path: |
|
|
|
self.show_info(_("Backup saved:") + f"\n{new_path}") |
|
|
|
else: |
|
|
|