You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix(backup): Add exception handling for restore operations
This commit adds `try-catch` blocks to handle potential `FileNotFoundException` and `SecurityException` when restoring backups and themes.
If a file cannot be opened or permission is denied during the restore process from a URI, the exception is now caught, its stack trace is printed, and a toast message is displayed to the user ("Selected file could not be opened" or "Permission denied"). This prevents the application from crashing and provides user feedback in case of an error.
0 commit comments