Skip to content

Commit

Permalink
feat(youtube): hide-floating-microphone-button patch
Browse files Browse the repository at this point in the history
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
  • Loading branch information
oSumAtrIX committed Feb 26, 2023
1 parent 519c2bd commit cb77e96
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
@@ -0,0 +1,9 @@
package app.revanced.integrations.patches;

import app.revanced.integrations.settings.SettingsEnum;

public final class HideFloatingMicrophoneButtonPatch {
public static boolean hideFloatingMicrophoneButton(boolean original) {
return SettingsEnum.HIDE_FLOATING_MICROPHONE_BUTTON.getBoolean() || original;
}
}
Expand Up @@ -96,6 +96,7 @@ public enum SettingsEnum {
HIDE_WATCH_IN_VR("revanced_hide_watch_in_vr", false, ReturnType.BOOLEAN, true),
HIDE_BREAKING_NEWS("revanced_hide_breaking_news", true, ReturnType.BOOLEAN, true),
HIDE_PLAYER_BUTTONS("revanced_hide_player_buttons", false, ReturnType.BOOLEAN, false),
HIDE_FLOATING_MICROPHONE_BUTTON("revanced_hide_floating_microphone_button", true, ReturnType.BOOLEAN),

// Misc. Settings
FIX_PLAYBACK("revanced_fix_playback", false, ReturnType.BOOLEAN, false),
Expand Down

0 comments on commit cb77e96

Please sign in to comment.