aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-01-20 17:12:42 -0800
committerGitHub <noreply@github.com>2020-01-20 17:12:42 -0800
commita974cc012ef10465342a581cc43b0313195fb5a3 (patch)
treea48af3f97fee5651cc065a5cd43cf5c8dbffd6da /app/src/main
parent9b958725a74426ee3d2977d659327e6973dfb54a (diff)
parentda2405f42d8ca1868028e3a5717292468f1ddf5c (diff)
downloadfrost-a974cc012ef10465342a581cc43b0313195fb5a3.tar.gz
frost-a974cc012ef10465342a581cc43b0313195fb5a3.tar.bz2
frost-a974cc012ef10465342a581cc43b0313195fb5a3.zip
Merge pull request #1625 from AllanWang/remove-autoplay-settings
Remove autoplay settings
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt15
1 files changed, 7 insertions, 8 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt b/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt
index ba5b839b..8f57b539 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt
@@ -19,9 +19,7 @@ package com.pitchedapps.frost.settings
import ca.allanwang.kau.kpref.activity.KPrefAdapterBuilder
import com.pitchedapps.frost.R
import com.pitchedapps.frost.activities.SettingsActivity
-import com.pitchedapps.frost.facebook.FB_URL_BASE
import com.pitchedapps.frost.utils.Prefs
-import com.pitchedapps.frost.utils.launchWebOverlay
/**
* Created by Allan Wang on 2017-06-30.
@@ -72,12 +70,13 @@ fun SettingsActivity.getBehaviourPrefs(): KPrefAdapterBuilder.() -> Unit = {
descRes = R.string.enable_pip_desc
}
- plainText(R.string.autoplay_settings) {
- descRes = R.string.autoplay_settings_desc
- onClick = {
- launchWebOverlay("${FB_URL_BASE}settings/videos/")
- }
- }
+ // Not available for desktop user agent for now
+// plainText(R.string.autoplay_settings) {
+// descRes = R.string.autoplay_settings_desc
+// onClick = {
+// launchWebOverlay("${FB_URL_BASE}settings/videos/")
+// }
+// }
checkbox(R.string.exit_confirmation, Prefs::exitConfirmation, { Prefs.exitConfirmation = it }) {
descRes = R.string.exit_confirmation_desc