mirror of
https://github.com/SeedSigner/seedsigner.git
synced 2026-10-05 15:08:25 +00:00
Eliminate Export xpub settings
This commit is contained in:
@@ -334,7 +334,6 @@ class SettingsConstants:
|
||||
|
||||
SETTING__NETWORK = "network"
|
||||
SETTING__QR_DENSITY = "qr_density"
|
||||
SETTING__XPUB_EXPORT = "xpub_export"
|
||||
SETTING__SIG_TYPES = "sig_types"
|
||||
SETTING__SCRIPT_TYPES = "script_types"
|
||||
SETTING__XPUB_DETAILS = "xpub_details"
|
||||
@@ -608,12 +607,6 @@ class SettingsDefinition:
|
||||
selection_options=SettingsConstants.ALL_DENSITIES,
|
||||
default_value=SettingsConstants.DENSITY__MEDIUM),
|
||||
|
||||
SettingsEntry(category=SettingsConstants.CATEGORY__FEATURES,
|
||||
attr_name=SettingsConstants.SETTING__XPUB_EXPORT,
|
||||
display_name=_mft("Xpub export"),
|
||||
visibility=SettingsConstants.VISIBILITY__ADVANCED,
|
||||
default_value=SettingsConstants.OPTION__ENABLED),
|
||||
|
||||
SettingsEntry(category=SettingsConstants.CATEGORY__FEATURES,
|
||||
attr_name=SettingsConstants.SETTING__SIG_TYPES,
|
||||
abbreviated_name="sigs",
|
||||
|
||||
@@ -572,8 +572,7 @@ class SeedOptionsView(View):
|
||||
|
||||
button_data.append(self.SCAN_PSBT)
|
||||
|
||||
if self.settings.get_value(SettingsConstants.SETTING__XPUB_EXPORT) == SettingsConstants.OPTION__ENABLED:
|
||||
button_data.append(self.EXPORT_XPUB)
|
||||
button_data.append(self.EXPORT_XPUB)
|
||||
|
||||
button_data.append(self.EXPLORER)
|
||||
button_data.append(self.BACKUP)
|
||||
|
||||
Reference in New Issue
Block a user