Skip to content

Commit

Permalink
SFT-4339: ran auto backup after renaming the device
Browse files Browse the repository at this point in the history
  • Loading branch information
mjg-foundation committed Oct 23, 2024
1 parent 982d5c7 commit e6cf94b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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)

0 comments on commit e6cf94b

Please sign in to comment.