mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-05-01 23:24:29 +02:00
feat(youtube/wide-searchbar): rename patch
This commit is contained in:
parent
436a84ee07
commit
8493f57879
@ -1,12 +0,0 @@
|
|||||||
package app.revanced.integrations.patches;
|
|
||||||
|
|
||||||
import app.revanced.integrations.settings.SettingsEnum;
|
|
||||||
|
|
||||||
public class NewActionbarPatch {
|
|
||||||
|
|
||||||
//Used by app.revanced.patches.youtube.layout.widesearchbar.patch.WideSearchbarPatch
|
|
||||||
public static boolean getNewActionBar() {
|
|
||||||
return SettingsEnum.WIDE_SEARCHBAR.getBoolean(); // TODO: maybe this has to be inverted
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -0,0 +1,9 @@
|
|||||||
|
package app.revanced.integrations.patches;
|
||||||
|
|
||||||
|
import app.revanced.integrations.settings.SettingsEnum;
|
||||||
|
|
||||||
|
public final class WideSearchbarPatch {
|
||||||
|
public static boolean enableWideSearchbar() {
|
||||||
|
return SettingsEnum.WIDE_SEARCHBAR.getBoolean();
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user