diff options
Diffstat (limited to 'app/src/main/java/net/lacolaco/smileessence/preference/SharedPreferenceHelper.java')
-rw-r--r-- | app/src/main/java/net/lacolaco/smileessence/preference/SharedPreferenceHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/net/lacolaco/smileessence/preference/SharedPreferenceHelper.java b/app/src/main/java/net/lacolaco/smileessence/preference/SharedPreferenceHelper.java index 51283078..979dc732 100644 --- a/app/src/main/java/net/lacolaco/smileessence/preference/SharedPreferenceHelper.java +++ b/app/src/main/java/net/lacolaco/smileessence/preference/SharedPreferenceHelper.java @@ -117,7 +117,7 @@ public abstract class SharedPreferenceHelper { private String getString(int resID) { try { - return Application.getContext().getString(resID); + return Application.getInstance().getString(resID); } catch (Exception e) { return null; } |