diff options
author | Allan Wang <me@allanwang.ca> | 2019-08-07 23:08:40 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-08-07 23:08:40 -0700 |
commit | 7ed4ba701e3e29366f2bd73da010398929829d3e (patch) | |
tree | 6752e23d6d632ae2f57838b4040d6f80c63db7cd /app/src | |
parent | 6ab5ee6c839993b5340304dc86d4f43820b734fe (diff) | |
download | frost-7ed4ba701e3e29366f2bd73da010398929829d3e.tar.gz frost-7ed4ba701e3e29366f2bd73da010398929829d3e.tar.bz2 frost-7ed4ba701e3e29366f2bd73da010398929829d3e.zip |
Restart main after applying
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt | 5 | ||||
-rw-r--r-- | app/src/main/play/en-US/whatsnew | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt b/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt index 3c43bc47..0762d87a 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt @@ -59,7 +59,10 @@ fun SettingsActivity.getExperimentalPrefs(): KPrefAdapterBuilder.() -> Unit = { descRes = R.string.web_only_desc } - checkbox(R.string.single_user_agent, Prefs::singleUserAgent, { Prefs.singleUserAgent }) { + checkbox(R.string.single_user_agent, Prefs::singleUserAgent, { + Prefs.singleUserAgent + shouldRestartMain() + }) { descRes = R.string.single_user_agent_desc } diff --git a/app/src/main/play/en-US/whatsnew b/app/src/main/play/en-US/whatsnew index 85921c39..21737fa1 100644 --- a/app/src/main/play/en-US/whatsnew +++ b/app/src/main/play/en-US/whatsnew @@ -5,4 +5,4 @@ v2.3.2 * Disable bugsnag completely when opting out of analytics * Filter urls before sending to other apps * Allow hiding main fab (see settings > newsfeed) -* Add option to disable non web based behaviour (settings > behaviour)
\ No newline at end of file +* Add many options under settings > experimental to help with recent
\ No newline at end of file |