mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 06:10:31 +05:30
chore: dont share with time code by default
This commit is contained in:
parent
ce9a7c27be
commit
e8b0b5e1fa
@ -88,7 +88,7 @@ class ShareDialog : DialogFragment() {
|
|||||||
private fun setupTimeStampBinding(binding: DialogShareBinding) {
|
private fun setupTimeStampBinding(binding: DialogShareBinding) {
|
||||||
binding.timeCodeSwitch.isChecked = PreferenceHelper.getBoolean(
|
binding.timeCodeSwitch.isChecked = PreferenceHelper.getBoolean(
|
||||||
PreferenceKeys.SHARE_WITH_TIME_CODE,
|
PreferenceKeys.SHARE_WITH_TIME_CODE,
|
||||||
true
|
false
|
||||||
)
|
)
|
||||||
binding.timeCodeSwitch.setOnCheckedChangeListener { _, isChecked ->
|
binding.timeCodeSwitch.setOnCheckedChangeListener { _, isChecked ->
|
||||||
binding.timeStampLayout.isVisible = isChecked
|
binding.timeStampLayout.isVisible = isChecked
|
||||||
|
Loading…
Reference in New Issue
Block a user