From c97e7f659c5a855904e8554bfcc2d5c5db48b4a4 Mon Sep 17 00:00:00 2001 From: Matt Gleason Date: Wed, 23 Oct 2024 08:02:58 -0400 Subject: [PATCH] SFT-4339: ran auto backup after renaming the device --- ports/stm32/boards/Passport/modules/flows/rename_device_flow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ports/stm32/boards/Passport/modules/flows/rename_device_flow.py b/ports/stm32/boards/Passport/modules/flows/rename_device_flow.py index 90264cf9f..13ab18079 100644 --- a/ports/stm32/boards/Passport/modules/flows/rename_device_flow.py +++ b/ports/stm32/boards/Passport/modules/flows/rename_device_flow.py @@ -19,6 +19,7 @@ async def rename_device(self): from utils import spinner_task from tasks import delay_task from pages import SuccessPage + from flows import AutoBackupFlow name = settings.get('device_name', None) or '' result = await TextInputPage(initial_text=name, @@ -44,5 +45,6 @@ async def rename_device(self): await spinner_task('Renaming Device', delay_task, args=[1000, False]) await SuccessPage(text='Device renamed successfully').show() + await AutoBackupFlow().run() self.set_result(True)