Skip to content

Commit

Permalink
Merge pull request #72 from swakwork/dev
Browse files Browse the repository at this point in the history
fix(Twitter): Fix `Remove premium upsell` patch
  • Loading branch information
crimera authored Aug 2, 2024
2 parents 0b1a6f0 + 4430494 commit e251dbd
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,8 @@ public static boolean hideCTJ() {
public static boolean hideRBMK() {
return Utils.getBooleanPerf(Settings.ADS_HIDE_REVISIT_BMK);
}
public static String removePremiumUpsell(String def) {
if(Utils.getBooleanPerf(Settings.ADS_REMOVE_PREMIUM_UPSELL)) return "";
return def;

public static boolean removePremiumUpsell() {return !Utils.getBooleanPerf(Settings.ADS_REMOVE_PREMIUM_UPSELL);
}

public static boolean hideRPinnedPosts() {
Expand Down

0 comments on commit e251dbd

Please sign in to comment.