Merge pull request #6036 from Bnyro/master

chore: dont share with time code by default
This commit is contained in:
Bnyro 2024-05-14 21:59:28 +02:00 committed by GitHub
commit 2534b72655
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,7 +88,7 @@ class ShareDialog : DialogFragment() {
private fun setupTimeStampBinding(binding: DialogShareBinding) {
binding.timeCodeSwitch.isChecked = PreferenceHelper.getBoolean(
PreferenceKeys.SHARE_WITH_TIME_CODE,
true
false
)
binding.timeCodeSwitch.setOnCheckedChangeListener { _, isChecked ->
binding.timeStampLayout.isVisible = isChecked