-
Notifications
You must be signed in to change notification settings - Fork 722
Fix (PreferenceRestorer): correctly backup/restore preferences related to categories #1726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix (PreferenceRestorer): correctly backup/restore preferences related to categories #1726
Conversation
Maybe we should also keep the category id when making backup and set this preferences accordingly? |
That would be better comparing to using |
|
8684da2
to
14a1ef2
Compare
app/src/main/java/eu/kanade/tachiyomi/data/backup/models/BackupCategory.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/eu/kanade/tachiyomi/data/backup/restore/restorers/PreferenceRestorer.kt
Outdated
Show resolved
Hide resolved
…d to category (cherry picked from commit ff8d48bf4ce80a13e314818fc133360e3df18863)
revert PreferenceBackupCreator
14a1ef2
to
ce760fc
Compare
Co-authored-by: AntsyLich <[email protected]> (cherry picked from commit e1724d1aa0e3340e1404cfd80bd264831d86a879)
… preferences (mihonapp/mihon#1726) Co-authored-by: AntsyLich <[email protected]> (cherry picked from commit e1724d1aa0e3340e1404cfd80bd264831d86a879)
Preferences related to category:
They are being stored in preferences as category ID and hence failed to be backed up/restored correctly.