From 7ed4ba701e3e29366f2bd73da010398929829d3e Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Wed, 7 Aug 2019 23:08:40 -0700 Subject: Restart main after applying --- app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt | 5 ++++- app/src/main/play/en-US/whatsnew | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'app') 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 -- cgit v1.2.3