mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 15:30:31 +05:30
Merge pull request #7345 from Bnyro/master
fix: confirm unsubscribe preference only works if disabled instead of enabled
This commit is contained in:
commit
75aa69d096
@ -62,7 +62,7 @@ fun TextView.setupSubscriptionButton(
|
||||
updateUIStateAndNotifyObservers()
|
||||
}
|
||||
|
||||
if (!PreferenceHelper.getBoolean(PreferenceKeys.CONFIRM_UNSUBSCRIBE, false)) {
|
||||
if (PreferenceHelper.getBoolean(PreferenceKeys.CONFIRM_UNSUBSCRIBE, false)) {
|
||||
showUnsubscribeDialog(context, channelName) {
|
||||
CoroutineScope(Dispatchers.Main).launch { unsubscribeAction() }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user