From e81ff5b35d660139cc3ca45d98770cb9e8f08548 Mon Sep 17 00:00:00 2001 From: Matt Gleason Date: Wed, 18 Oct 2023 11:58:34 -0400 Subject: [PATCH] SFT-36: uppercased device name on login page --- ports/stm32/boards/Passport/modules/flows/login_flow.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ports/stm32/boards/Passport/modules/flows/login_flow.py b/ports/stm32/boards/Passport/modules/flows/login_flow.py index 12dcf309f..c5bd7c201 100644 --- a/ports/stm32/boards/Passport/modules/flows/login_flow.py +++ b/ports/stm32/boards/Passport/modules/flows/login_flow.py @@ -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,