|
@ -66,7 +66,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc |
|
|
@Override |
|
|
@Override |
|
|
public void onSharedPreferenceChanged(SharedPreferences prefs, String key) { |
|
|
public void onSharedPreferenceChanged(SharedPreferences prefs, String key) { |
|
|
Log.i(Helper.TAG, "Preference " + key + "=" + prefs.getAll().get(key)); |
|
|
Log.i(Helper.TAG, "Preference " + key + "=" + prefs.getAll().get(key)); |
|
|
if ("theme".equals(key)) |
|
|
|
|
|
|
|
|
if ("theme".equals(key) || "debug".equals(key)) |
|
|
recreate(); |
|
|
recreate(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |