diff --git a/app/src/main/java/sh/siava/pixelxpert/utils/PreferenceHelper.java b/app/src/main/java/sh/siava/pixelxpert/utils/PreferenceHelper.java index e40b52b8..a57420c2 100644 --- a/app/src/main/java/sh/siava/pixelxpert/utils/PreferenceHelper.java +++ b/app/src/main/java/sh/siava/pixelxpert/utils/PreferenceHelper.java @@ -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;