mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-05-02 23:54:35 +02: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,
|
MUSIC_OFFTOPIC,
|
||||||
PREVIEW
|
PREVIEW
|
||||||
};
|
};
|
||||||
private static final Map<String, SegmentInfo> mValuesMap = new HashMap<>(8);
|
private static final Map<String, SegmentInfo> mValuesMap = new HashMap<>(values().length + 1);
|
||||||
|
|
||||||
static {
|
static {
|
||||||
for (SegmentInfo value : valuesWithoutUnsubmitted())
|
for (SegmentInfo value : valuesWithoutUnsubmitted())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user