This repository was archived by the owner on Oct 26, 2024. It is now read-only.
File tree 2 files changed +3
-4
lines changed
app/src/main/java/app/revanced/integrations/shared
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 13
13
import android .os .Handler ;
14
14
import android .os .Looper ;
15
15
import android .preference .Preference ;
16
- import android .preference .PreferenceCategory ;
17
16
import android .preference .PreferenceGroup ;
18
17
import android .preference .PreferenceScreen ;
19
18
import android .view .View ;
@@ -746,8 +745,8 @@ public static void setPreferenceTitlesToMultiLineIfNeeded(PreferenceGroup group)
746
745
Preference pref = group .getPreference (i );
747
746
pref .setSingleLineTitle (false );
748
747
749
- if (pref instanceof PreferenceCategory ) {
750
- setPreferenceTitlesToMultiLineIfNeeded ((PreferenceCategory ) pref );
748
+ if (pref instanceof PreferenceGroup ) {
749
+ setPreferenceTitlesToMultiLineIfNeeded ((PreferenceGroup ) pref );
751
750
}
752
751
}
753
752
}
Original file line number Diff line number Diff line change 17
17
18
18
import static app .revanced .integrations .shared .StringRef .str ;
19
19
20
- @ SuppressWarnings ({ "unused" , " deprecation"} )
20
+ @ SuppressWarnings (" deprecation" )
21
21
public abstract class AbstractPreferenceFragment extends PreferenceFragment {
22
22
/**
23
23
* Indicates that if a preference changes,
You can’t perform that action at this time.
0 commit comments