mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 19:08:23 +00:00
- Removes redundant settings migration call during individual account migration.
- Modifies the main migration logic in `Amber.kt` to:
- Iterate through legacy accounts and attempt to migrate each.
- Introduce a `FailedMigrationException` to halt the process if any account migration fails, preventing the deletion of old settings data in such cases.
- Ensure a current account is set if one exists after migration.
- Propagate `FailedMigrationException` in coroutine exception handlers.