package com.antew.redditinpictures.preferences;

import android.content.Context;
import android.preference.PreferenceManager;

import com.antew.redditinpictures.library.R;
import com.antew.redditinpictures.library.logging.Log;
import com.antew.redditinpictures.library.preferences.SharedPreferencesHelper;

public class SharedPreferencesHelperFree extends SharedPreferencesHelper {

    public static boolean getDisableAds(Context context) {
        Log.i("getDisableAds", "" + PreferenceManager.getDefaultSharedPreferences(context).getBoolean(context.getString(R.string.disable_ads), false));
        return PreferenceManager.getDefaultSharedPreferences(context).getBoolean(context.getString(R.string.disable_ads), false);
    }

}

@@ -154,24 +154,16 @@
 ictures.
-library.
 R;%0Aimpor
@@ -548,32 +548,37 @@
 String(R.string.
+pref_
 disable_ads), fa
@@ -692,16 +692,21 @@
 .string.
+pref_
 disable_

Make classes use same Shared Prefs value closes #29