diff options
author | Herbert Reiter <46045854+damoasda@users.noreply.github.com> | 2021-01-02 17:49:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-02 17:49:30 +0100 |
commit | 542dbd190c6aa4b01c1b644e5c107333817442cd (patch) | |
tree | 80d79dd76221ef196e08ff561cee74816e0b3030 /app/src/main/java/de/danoeh/antennapod/adapter | |
parent | 486de46b8ff294a757064f457fc6259820460ecf (diff) | |
download | AntennaPod-542dbd190c6aa4b01c1b644e5c107333817442cd.zip |
Run more util tests with Robolectric (#4815)
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/adapter')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java b/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java index 92ed7b052..f8507ba74 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java @@ -75,7 +75,7 @@ public class NavListAdapter extends BaseAdapter } public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { - if (key.equals(UserPreferences.PREF_HIDDEN_DRAWER_ITEMS)) { + if (UserPreferences.PREF_HIDDEN_DRAWER_ITEMS.equals(key)) { loadItems(); } } |