Convenience

pull/50/head
M66B 6 years ago
parent 3314826120
commit 4db7c6e107

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

Loading…
Cancel
Save