feat(youtube/wide-searchbar): rename patch

This commit is contained in:
oSumAtrIX 2023-04-23 06:25:58 +02:00
parent 98edcdd589
commit 2320880a42
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
2 changed files with 9 additions and 12 deletions

View File

@ -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
}
}

View File

@ -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();
}
}