mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-11 12:35:50 +01:00
replace hardcoded value with dynamic getter
This commit is contained in:
parent
1cd5732fe9
commit
6748bce0e8
@ -177,7 +177,7 @@ public class SponsorBlockSettings {
|
||||
MUSIC_OFFTOPIC,
|
||||
PREVIEW
|
||||
};
|
||||
private static final Map<String, SegmentInfo> mValuesMap = new HashMap<>(8);
|
||||
private static final Map<String, SegmentInfo> mValuesMap = new HashMap<>(values().length + 1);
|
||||
|
||||
static {
|
||||
for (SegmentInfo value : valuesWithoutUnsubmitted())
|
||||
|
Loading…
Reference in New Issue
Block a user