From c01df59afd2845c01c6f848c73806b6c3a0ecbad Mon Sep 17 00:00:00 2001 From: Bnyro Date: Fri, 8 Sep 2023 15:44:16 +0200 Subject: [PATCH] fix: show okay button for multi selection dialogs instead of cancel --- .../java/com/github/libretube/ui/base/BasePreferenceFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/github/libretube/ui/base/BasePreferenceFragment.kt b/app/src/main/java/com/github/libretube/ui/base/BasePreferenceFragment.kt index ac6fb50d5b..0a579e0dd5 100644 --- a/app/src/main/java/com/github/libretube/ui/base/BasePreferenceFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/base/BasePreferenceFragment.kt @@ -68,7 +68,7 @@ abstract class BasePreferenceFragment : PreferenceFragmentCompat() { preference.values = newValues } } - .setNegativeButton(R.string.cancel, null) + .setPositiveButton(R.string.okay, null) .setOnDismissListener { isDialogVisible = false } .show() }