mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-02 16:15:58 +01:00
fix(youtube/sponsorblock): settings do not show default behavior (#351)
This commit is contained in:
parent
e3d923d564
commit
6dbccfd472
@ -31,6 +31,7 @@ public class SegmentCategoryListPreference extends ListPreference {
|
||||
super(context);
|
||||
this.category = Objects.requireNonNull(category);
|
||||
setKey(category.key);
|
||||
setDefaultValue(category.behaviour.key);
|
||||
setEntries(CategoryBehaviour.getBehaviorNames());
|
||||
setEntryValues(CategoryBehaviour.getBehaviorKeys());
|
||||
setSummary(category.description.toString());
|
||||
|
Loading…
Reference in New Issue
Block a user