DeepL: language frequency

This commit is contained in:
M66B
2021-05-18 07:35:42 +02:00
parent 7391970a95
commit 9c340318e8
2 changed files with 31 additions and 3 deletions

View File

@@ -876,7 +876,10 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
for (String option : RESET_QUESTIONS)
editor.remove(option);
for (String key : prefs.getAll().keySet())
if (key.endsWith(".show_full") || key.endsWith(".show_images") || key.endsWith(".confirm_link"))
if (key.startsWith("translated_") ||
key.endsWith(".show_full") ||
key.endsWith(".show_images") ||
key.endsWith(".confirm_link"))
editor.remove(key);
editor.apply();