Remember last three searches

This commit is contained in:
M66B
2021-04-17 11:04:04 +02:00
parent cd047a7a07
commit 770dee6184
4 changed files with 128 additions and 11 deletions

View File

@@ -465,6 +465,11 @@ public class ApplicationEx extends Application
Log.e(ex);
}
}
} else if (version < 1556) {
if (prefs.contains("last_search")) {
editor.putString("last_search1", prefs.getString("last_search", null));
editor.remove("last_search");
}
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)