fix check

This commit is contained in:
caneleex 2021-08-18 20:02:05 +02:00
parent bab5bef4ca
commit c8899e6aa5
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public abstract class SponsorBlockUtils {
private static final DialogInterface.OnClickListener segmentTypeListener = (dialog, which) -> {
SponsorBlockSettings.SegmentCategory segmentType = SponsorBlockSettings.SegmentCategory.valuesWithoutUnsubmitted()[which];
boolean enableButton;
if (!segmentType.behaviour.isDisabled()) {
if (segmentType.behaviour.isDisabled()) {
Toast.makeText(
((AlertDialog) dialog).getContext().getApplicationContext(),
str("new_segment_disabled_category"),