diff options
author | Christian Schneppe <christian.schneppe@pix-art.de> | 2020-01-26 15:36:47 +0100 |
---|---|---|
committer | Christian Schneppe <christian.schneppe@pix-art.de> | 2020-01-26 15:36:47 +0100 |
commit | 954cf631627e79de77cacf2e1f42a573e1fc5709 (patch) | |
tree | 36ed2deaf49b15932a7384d3dddecb098af1a509 /src/main/java/de/pixart/messenger/ui/adapter | |
parent | 42c2dd48f03e00e62c198e9bd2e3e4e7f30a783a (diff) |
use default values for some preferences instead of hardcoded ones
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui/adapter')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/ListItemAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/adapter/ListItemAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/ListItemAdapter.java index a6387d182..34598229d 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/ListItemAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/ListItemAdapter.java @@ -52,7 +52,7 @@ public class ListItemAdapter extends ArrayAdapter<ListItem> { public void refreshSettings() { SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(activity); - this.showDynamicTags = preferences.getBoolean(SettingsActivity.SHOW_DYNAMIC_TAGS, false); + this.showDynamicTags = preferences.getBoolean(SettingsActivity.SHOW_DYNAMIC_TAGS, activity.getResources().getBoolean(R.bool.show_dynamic_tags)); } @Override |