mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-01-11 22:40:36 +00:00
track preferences not cleared unless the backup contains oauth tokens
This commit is contained in:
parent
2a08115067
commit
cc80ee3608
1 changed files with 1 additions and 1 deletions
|
|
@ -217,8 +217,8 @@ void restoreBackup(Ref ref, Map<String, dynamic> backup, {bool full = true}) {
|
|||
}
|
||||
|
||||
if (full) {
|
||||
isar.trackPreferences.clearSync();
|
||||
if (trackPreferences != null) {
|
||||
isar.trackPreferences.clearSync();
|
||||
isar.trackPreferences.putAllSync(trackPreferences);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue