Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 6d71471

Browse files
Fixed unable to set premium request to false
1 parent 97b4870 commit 6d71471

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/main/java/com/dm/material/dashboard/candybar/helpers/RequestHelper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ public static void checkPiracyApp(@NonNull Context context) {
133133
} catch (Exception ignored) {}
134134
}
135135

136-
Preferences.getPreferences(context).setPremiumRequestEnabled(true);
136+
Preferences.getPreferences(context).setPremiumRequestEnabled(
137+
context.getResources().getBoolean(R.bool.enable_premium_request));
137138
}
138139

139140
}

0 commit comments

Comments
 (0)