From 9bf804219ecca844865545351fea0a02fbf4dd30 Mon Sep 17 00:00:00 2001 From: Canny1913 <94744045+Canny1913@users.noreply.github.com> Date: Thu, 16 Jun 2022 01:09:28 +0300 Subject: [PATCH] feat: hide cast button by default (#12) --- app/src/main/java/fi/razerman/youtube/XGlobals.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/fi/razerman/youtube/XGlobals.java b/app/src/main/java/fi/razerman/youtube/XGlobals.java index 0c1f4e0309..4f0eabf144 100644 --- a/app/src/main/java/fi/razerman/youtube/XGlobals.java +++ b/app/src/main/java/fi/razerman/youtube/XGlobals.java @@ -139,7 +139,7 @@ public class XGlobals { public static Boolean suggestionsShown = true; public static Boolean infoCardsShown = true; public static Boolean brandingShown = true; - public static Boolean castButtonShown = true; + public static Boolean castButtonShown = false; public static Boolean tabletMiniplayer = false; public static Boolean commentsLocation = false; public static Boolean newActionBar = false; @@ -173,7 +173,7 @@ public static void ReadSettings() { suggestionsShown = Boolean.valueOf(sharedPreferences.getBoolean("info_card_suggestions_enabled", true)); infoCardsShown = Boolean.valueOf(sharedPreferences.getBoolean("info_cards_enabled", true)); brandingShown = Boolean.valueOf(sharedPreferences.getBoolean("branding_watermark_enabled", true)); - castButtonShown = Boolean.valueOf(sharedPreferences.getBoolean("cast_button_enabled", true)); + castButtonShown = Boolean.valueOf(sharedPreferences.getBoolean("cast_button_enabled", false)); tabletMiniplayer = Boolean.valueOf(sharedPreferences.getBoolean("tablet_miniplayer", false)); commentsLocation = Boolean.valueOf(sharedPreferences.getBoolean("comments_location", false)); newActionBar = Boolean.valueOf(sharedPreferences.getBoolean("xfile_new_actionbar", false));