mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
3590df68b8
backup_database_file() returning Ok(None) was silently resolved as null on the frontend, bypassing try/catch and showing a success toast without actually creating a backup file. Now None is converted to an explicit Err so the frontend correctly displays an error toast.