Browse links migration

This commit is contained in:
M66B 2022-06-15 17:38:20 +02:00
parent 5e111da58b
commit 251695fb5d
1 changed files with 5 additions and 2 deletions

View File

@ -621,8 +621,11 @@ public class ApplicationEx extends Application
if (class_min_difference == 0)
editor.putBoolean("classification", false);
} else if (version < 1918) {
editor.remove("confirm_links");
editor.remove("browse_links");
if (prefs.contains("browse_links")) {
boolean browse_links = prefs.getBoolean("browse_links", false);
editor.remove("browse_links")
.putBoolean("open_with_tabs", !browse_links);
}
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)