mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 09:45:18 +00:00
Trezor: Minor nit in settings screen. Image size was shown as H x W
(from Electron-Cash/Electron-Cash@e0e7ff218d)
This commit is contained in:
parent
19d7784616
commit
05697e51b8
2 changed files with 4 additions and 4 deletions
|
@ -199,7 +199,7 @@ class SettingsDialog(WindowModalDialog):
|
||||||
config = devmgr.config
|
config = devmgr.config
|
||||||
handler = keystore.handler
|
handler = keystore.handler
|
||||||
thread = keystore.thread
|
thread = keystore.thread
|
||||||
hs_rows, hs_cols = (64, 128)
|
hs_cols, hs_rows = (128, 64)
|
||||||
|
|
||||||
def invoke_client(method, *args, **kw_args):
|
def invoke_client(method, *args, **kw_args):
|
||||||
unpair_after = kw_args.pop('unpair_after', False)
|
unpair_after = kw_args.pop('unpair_after', False)
|
||||||
|
@ -410,7 +410,7 @@ class SettingsDialog(WindowModalDialog):
|
||||||
homescreen_msg = QLabel(_("You can set the homescreen on your "
|
homescreen_msg = QLabel(_("You can set the homescreen on your "
|
||||||
"device to personalize it. You must "
|
"device to personalize it. You must "
|
||||||
"choose a {} x {} monochrome black and "
|
"choose a {} x {} monochrome black and "
|
||||||
"white image.").format(hs_rows, hs_cols))
|
"white image.").format(hs_cols, hs_rows))
|
||||||
homescreen_msg.setWordWrap(True)
|
homescreen_msg.setWordWrap(True)
|
||||||
settings_glayout.addWidget(homescreen_label, 4, 0)
|
settings_glayout.addWidget(homescreen_label, 4, 0)
|
||||||
settings_glayout.addWidget(homescreen_change_button, 4, 1)
|
settings_glayout.addWidget(homescreen_change_button, 4, 1)
|
||||||
|
|
|
@ -326,7 +326,7 @@ class SettingsDialog(WindowModalDialog):
|
||||||
config = devmgr.config
|
config = devmgr.config
|
||||||
handler = keystore.handler
|
handler = keystore.handler
|
||||||
thread = keystore.thread
|
thread = keystore.thread
|
||||||
hs_rows, hs_cols = (64, 128)
|
hs_cols, hs_rows = (128, 64)
|
||||||
|
|
||||||
def invoke_client(method, *args, **kw_args):
|
def invoke_client(method, *args, **kw_args):
|
||||||
unpair_after = kw_args.pop('unpair_after', False)
|
unpair_after = kw_args.pop('unpair_after', False)
|
||||||
|
@ -537,7 +537,7 @@ class SettingsDialog(WindowModalDialog):
|
||||||
homescreen_msg = QLabel(_("You can set the homescreen on your "
|
homescreen_msg = QLabel(_("You can set the homescreen on your "
|
||||||
"device to personalize it. You must "
|
"device to personalize it. You must "
|
||||||
"choose a {} x {} monochrome black and "
|
"choose a {} x {} monochrome black and "
|
||||||
"white image.").format(hs_rows, hs_cols))
|
"white image.").format(hs_cols, hs_rows))
|
||||||
homescreen_msg.setWordWrap(True)
|
homescreen_msg.setWordWrap(True)
|
||||||
settings_glayout.addWidget(homescreen_label, 4, 0)
|
settings_glayout.addWidget(homescreen_label, 4, 0)
|
||||||
settings_glayout.addWidget(homescreen_change_button, 4, 1)
|
settings_glayout.addWidget(homescreen_change_button, 4, 1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue