diff --git a/ports/stm32/boards/Passport/modules/choosers.py b/ports/stm32/boards/Passport/modules/choosers.py index c6fd8dc..2b1613d 100644 --- a/ports/stm32/boards/Passport/modules/choosers.py +++ b/ports/stm32/boards/Passport/modules/choosers.py @@ -40,8 +40,8 @@ def shutdown_timeout_chooser(): def brightness_chooser(): screen_brightness = settings.get('screen_brightness', 100) - ch = ['Off', '25%', '50%', '75%', '100%', 'Automatic'] - va = [0, 25, 50, 75, 100, 999] + ch = ['Off', '25%', '50%', '75%', '100%'] # , 'Automatic'] + va = [0, 25, 50, 75, 100] # , 999] try: which = va.index(screen_brightness) diff --git a/ports/stm32/boards/Passport/modules/flow.py b/ports/stm32/boards/Passport/modules/flow.py index 1c5729c..c2f9737 100644 --- a/ports/stm32/boards/Passport/modules/flow.py +++ b/ports/stm32/boards/Passport/modules/flow.py @@ -66,7 +66,7 @@ SettingsMenu = [ MenuItem('About', f=about_info), MenuItem('Firmware', menu=FirmwareMenu), MenuItem('Backup', menu=BackupMenu), - # MenuItem('Screen Brightness', chooser=brightness_chooser), + MenuItem('Screen Brightness', chooser=brightness_chooser), MenuItem('Auto Shutdown', chooser=shutdown_timeout_chooser), MenuItem('Multisig', menu=make_multisig_menu, arg='Multisig'), MenuItem('Accounts', menu=make_accounts_menu, arg='Accounts'), @@ -76,7 +76,7 @@ SettingsMenu = [ NoWalletSettingsMenu = [ MenuItem('About', f=about_info), MenuItem('Firmware', menu=FirmwareMenu), - # MenuItem('Screen Brightness', chooser=brightness_chooser), + MenuItem('Screen Brightness', chooser=brightness_chooser), MenuItem('Auto Shutdown', chooser=shutdown_timeout_chooser), MenuItem('Change PIN', f=change_pin), ]