Refresh app list after formatting internal data storage

This commit is contained in:
Thomas Farstrike
2025-11-23 05:58:22 +01:00
parent 4fa71ab548
commit 7668407e14
@@ -323,7 +323,8 @@ class SettingActivity(Activity):
fs = vfs.VfsFat(bdev)
print(f"Mounting {fs} at /")
vfs.mount(fs, "/")
print("Done formatting, returning...")
print("Done formatting, refreshing apps...")
PackageManager.refresh_apps()
self.finish() # would be nice to show a "FormatInternalDataPartition" activity
return