DeepL: API domain

This commit is contained in:
M66B
2021-05-19 18:15:48 +02:00
parent 1ee3fece7f
commit 6b60a2e52c
5 changed files with 54 additions and 16 deletions

View File

@@ -474,6 +474,11 @@ public class ApplicationEx extends Application
} else if (version < 1558) {
if (!prefs.contains("button_extra"))
editor.putBoolean("button_extra", true);
} else if (version < 1598) {
if (prefs.contains("deepl")) {
String key = prefs.getString("deepl", null);
editor.putString("deepl_key", key).remove("deepl");
}
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)