mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-20 21:27:07 +00:00
Backward compatibility
This commit is contained in:
parent
9f779d3702
commit
f2bbac42b9
1 changed files with 4 additions and 0 deletions
|
@ -614,6 +614,10 @@ public class ApplicationEx extends Application
|
|||
boolean cards = prefs.getBoolean("cards", true);
|
||||
if (!cards)
|
||||
editor.remove("view_padding");
|
||||
} else if (version < 1888) {
|
||||
int class_min_difference = prefs.getInt("class_min_difference", 50);
|
||||
if (class_min_difference == 0)
|
||||
editor.putBoolean("classification", false);
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
|
||||
|
|
Loading…
Reference in a new issue