This repository was archived by the owner on Oct 26, 2024. It is now read-only.
File tree 3 files changed +4
-4
lines changed
app/src/main/java/app/revanced/integrations/youtube/patches
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
@ SuppressWarnings ("unused" )
6
6
public class FullscreenSeekbarThumbnailsPatch {
7
7
8
- private static final Boolean SEEKBAR_FULLSCREEN_HIGH_QUALITY_ENABLED = Settings .SEEKBAR_FULLSCREEN_HIGH_QUALITY .get ();
8
+ private static final boolean SEEKBAR_FULLSCREEN_HIGH_QUALITY_ENABLED = Settings .SEEKBAR_FULLSCREEN_HIGH_QUALITY .get ();
9
9
10
10
/**
11
11
* Injection point.
Original file line number Diff line number Diff line change 4
4
5
5
@ SuppressWarnings ("unused" )
6
6
public final class SlideToSeekPatch {
7
- private static final Boolean SLIDE_TO_SEEK_DISABLED = !Settings .SLIDE_TO_SEEK .get ();
7
+ private static final boolean SLIDE_TO_SEEK_DISABLED = !Settings .SLIDE_TO_SEEK .get ();
8
8
9
9
public static boolean isSlideToSeekDisabled (boolean isDisabled ) {
10
- if (!isDisabled ) return isDisabled ;
10
+ if (!isDisabled ) return false ;
11
11
12
12
return SLIDE_TO_SEEK_DISABLED ;
13
13
}
Original file line number Diff line number Diff line change 21
21
22
22
@ SuppressWarnings ("unused" )
23
23
public final class ShortsFilter extends Filter {
24
- public static final Boolean HIDE_SHORTS_NAVIGATION_BAR = Settings .HIDE_SHORTS_NAVIGATION_BAR .get ();
24
+ public static final boolean HIDE_SHORTS_NAVIGATION_BAR = Settings .HIDE_SHORTS_NAVIGATION_BAR .get ();
25
25
private final static String REEL_CHANNEL_BAR_PATH = "reel_channel_bar.eml" ;
26
26
27
27
/**
You can’t perform that action at this time.
0 commit comments