mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-04 16:44:29 +02:00
chore: Lint code
This commit is contained in:
parent
f02ea01ebe
commit
ac0fea1cb7
@ -7,11 +7,6 @@ public class PatchStatus {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean MinimalHeader() {
|
|
||||||
// Replace this with true If the Custom header patch succeeds and the patch option was `youtube_minimal_header`
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static boolean PlayerButtons() {
|
public static boolean PlayerButtons() {
|
||||||
// Replace this with true if the Hide player buttons patch succeeds
|
// Replace this with true if the Hide player buttons patch succeeds
|
||||||
return false;
|
return false;
|
||||||
|
@ -46,7 +46,6 @@ public class ReVancedSettingsPreference extends ReVancedPreferenceFragment {
|
|||||||
enableDisablePreferences();
|
enableDisablePreferences();
|
||||||
|
|
||||||
AmbientModePreferenceLinks();
|
AmbientModePreferenceLinks();
|
||||||
ChangeHeaderPreferenceLinks();
|
|
||||||
ExternalDownloaderPreferenceLinks();
|
ExternalDownloaderPreferenceLinks();
|
||||||
FullScreenPanelPreferenceLinks();
|
FullScreenPanelPreferenceLinks();
|
||||||
MiniPlayerPreferenceLinks();
|
MiniPlayerPreferenceLinks();
|
||||||
@ -70,16 +69,6 @@ public class ReVancedSettingsPreference extends ReVancedPreferenceFragment {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Enable/Disable Preference related to Change header
|
|
||||||
*/
|
|
||||||
private static void ChangeHeaderPreferenceLinks() {
|
|
||||||
enableDisablePreferences(
|
|
||||||
PatchStatus.MinimalHeader(),
|
|
||||||
Settings.CHANGE_YOUTUBE_HEADER
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable/Disable Preference for External downloader settings
|
* Enable/Disable Preference for External downloader settings
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user