Skip to content

Commit

Permalink
SFT-36: uppercased device name on login page
Browse files Browse the repository at this point in the history
  • Loading branch information
mjg-foundation committed Oct 19, 2023
1 parent 6af6999 commit e81ff5b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ports/stm32/boards/Passport/modules/flows/login_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@ def __init__(self):
super().__init__(initial_state=self.enter_pin, name='LoginFlow')

async def enter_pin(self):

device_name = common.settings.get('device_name', None)
if device_name is not None:
device_name = device_name.upper()

try:
(self.pin, is_done) = await PINEntryPage(
card_header={'title': 'Enter PIN'},
statusbar={'title': common.settings.get('device_name', None)},
statusbar={'title': device_name},
security_words_message='Recognize these Security Words?',
left_micron=microns.Shutdown,
right_micron=microns.Checkmark,
Expand Down

0 comments on commit e81ff5b

Please sign in to comment.