Fix preference version handling
Move preference upgrade of theme to version 4 of the preferences. The upgrade is meant FROM that version to the next.
This commit is contained in:
@@ -390,11 +390,11 @@ public class Preferences {
|
|||||||
}
|
}
|
||||||
// fall through
|
// fall through
|
||||||
case 4: {
|
case 4: {
|
||||||
// fall through
|
|
||||||
}
|
|
||||||
case 5: {
|
|
||||||
setTheme(Constants.Pref.Theme.DEFAULT);
|
setTheme(Constants.Pref.Theme.DEFAULT);
|
||||||
}
|
}
|
||||||
|
// fall through
|
||||||
|
case 5: {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// write new preference version
|
// write new preference version
|
||||||
|
|||||||
Reference in New Issue
Block a user