Add in-app app update check

This commit is contained in:
arkon
2021-08-13 18:18:53 -04:00
parent 96a64c7bd2
commit f23f22ab01
8 changed files with 97 additions and 68 deletions
@@ -269,6 +269,7 @@ class PreferencesHelper(val context: Context) {
fun extensionUpdatesCount() = flowPrefs.getInt("ext_updates_count", 0)
fun lastAppCheck() = flowPrefs.getLong("last_app_check", 0)
fun lastExtCheck() = flowPrefs.getLong("last_ext_check", 0)
fun searchPinnedSourcesOnly() = prefs.getBoolean(Keys.searchPinnedSourcesOnly, false)