Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
feat: hide cast button by default (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Canny1913 authored Jun 15, 2022
1 parent d7631f3 commit 9bf8042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/fi/razerman/youtube/XGlobals.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 9bf8042

Please sign in to comment.