chore: dont share with time code by default

This commit is contained in:
Bnyro 2024-05-14 21:59:10 +02:00
parent ce9a7c27be
commit e8b0b5e1fa

View File

@ -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