mirror of
https://github.com/AllanWang/Frost-for-Facebook.git
synced 2024-11-08 20:12:39 +01:00
Merge pull request #1625 from AllanWang/remove-autoplay-settings
Remove autoplay settings
This commit is contained in:
commit
a974cc012e
@ -19,9 +19,7 @@ package com.pitchedapps.frost.settings
|
|||||||
import ca.allanwang.kau.kpref.activity.KPrefAdapterBuilder
|
import ca.allanwang.kau.kpref.activity.KPrefAdapterBuilder
|
||||||
import com.pitchedapps.frost.R
|
import com.pitchedapps.frost.R
|
||||||
import com.pitchedapps.frost.activities.SettingsActivity
|
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.Prefs
|
||||||
import com.pitchedapps.frost.utils.launchWebOverlay
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Allan Wang on 2017-06-30.
|
* Created by Allan Wang on 2017-06-30.
|
||||||
@ -72,12 +70,13 @@ fun SettingsActivity.getBehaviourPrefs(): KPrefAdapterBuilder.() -> Unit = {
|
|||||||
descRes = R.string.enable_pip_desc
|
descRes = R.string.enable_pip_desc
|
||||||
}
|
}
|
||||||
|
|
||||||
plainText(R.string.autoplay_settings) {
|
// Not available for desktop user agent for now
|
||||||
descRes = R.string.autoplay_settings_desc
|
// plainText(R.string.autoplay_settings) {
|
||||||
onClick = {
|
// descRes = R.string.autoplay_settings_desc
|
||||||
launchWebOverlay("${FB_URL_BASE}settings/videos/")
|
// onClick = {
|
||||||
}
|
// launchWebOverlay("${FB_URL_BASE}settings/videos/")
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
checkbox(R.string.exit_confirmation, Prefs::exitConfirmation, { Prefs.exitConfirmation = it }) {
|
checkbox(R.string.exit_confirmation, Prefs::exitConfirmation, { Prefs.exitConfirmation = it }) {
|
||||||
descRes = R.string.exit_confirmation_desc
|
descRes = R.string.exit_confirmation_desc
|
||||||
|
Loading…
Reference in New Issue
Block a user