Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/canary' into canary
Browse files Browse the repository at this point in the history
# Conflicts:
#	app/src/main/java/sh/siava/pixelxpert/ui/fragments/HooksFragment.java
#	app/src/main/res/values/strings.xml
  • Loading branch information
Mahmud0808 committed Oct 31, 2024
2 parents 893d63e + 70b0a2f commit b3f309e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ private PreferenceHelper(ExtendedSharedPreferences prefs) {
instance = this;
}

public static SharedPreferences getModulePrefs() {
if (instance != null) return instance.mPreferences;
return null;
}

public static boolean isVisible(String key) {
if (instance == null) return true;

Expand Down

0 comments on commit b3f309e

Please sign in to comment.