Skip to content

Commit 7668407

Browse files
Refresh app list after formatting internal data storage
1 parent 4fa71ab commit 7668407

File tree

1 file changed

+2
-1
lines changed
  • internal_filesystem/builtin/apps/com.micropythonos.settings/assets

1 file changed

+2
-1
lines changed

internal_filesystem/builtin/apps/com.micropythonos.settings/assets/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,8 @@ def save_setting(self, setting):
323323
fs = vfs.VfsFat(bdev)
324324
print(f"Mounting {fs} at /")
325325
vfs.mount(fs, "/")
326-
print("Done formatting, returning...")
326+
print("Done formatting, refreshing apps...")
327+
PackageManager.refresh_apps()
327328
self.finish() # would be nice to show a "FormatInternalDataPartition" activity
328329
return
329330

0 commit comments

Comments
 (0)