diff options
author | domingos86 <domingos86@users.noreply.github.com> | 2016-04-17 18:28:15 -0400 |
---|---|---|
committer | Domingos Lopes <domingos86lopes+github@gmail.com> | 2016-04-24 22:06:27 -0400 |
commit | 78b2ceab5725ecb9f851eec58088b68bd3e6eb69 (patch) | |
tree | 7687496bca9b45647c756e30ce4eb9d67d0fbf99 /core | |
parent | b3fbc5258e6ec5cdb861c3567baa92245cd01e59 (diff) | |
download | AntennaPod-78b2ceab5725ecb9f851eec58088b68bd3e6eb69.zip |
harmonize UserPreferences.java
This was possibly due to some changes not entirely validated on a merge conflict.
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java b/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java index 879861a3f..b5bbb0350 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java +++ b/core/src/main/java/de/danoeh/antennapod/core/preferences/UserPreferences.java @@ -494,16 +494,16 @@ public class UserPreferences { public static void setVolume(int leftVolume, int rightVolume) { assert(0 <= leftVolume && leftVolume <= 100); - assert (0 <= rightVolume && rightVolume <= 100); + assert(0 <= rightVolume && rightVolume <= 100); prefs.edit() - .putInt(PREF_LEFT_VOLUME, leftVolume) + .putInt(PREF_LEFT_VOLUME, leftVolume) .putInt(PREF_RIGHT_VOLUME, rightVolume) .apply(); } public static void setAutodownloadSelectedNetworks(String[] value) { prefs.edit() - .putString(PREF_AUTODL_SELECTED_NETWORKS, TextUtils.join(",", value)) + .putString(PREF_AUTODL_SELECTED_NETWORKS, TextUtils.join(",", value)) .apply(); } @@ -541,7 +541,7 @@ public class UserPreferences { throw new IllegalArgumentException("Flattr threshold must be in range [0.0, 1.0]"); } prefs.edit() - .putBoolean(PREF_AUTO_FLATTR, enabled) + .putBoolean(PREF_AUTO_FLATTR, enabled) .putFloat(PREF_AUTO_FLATTR_PLAYED_DURATION_THRESHOLD, autoFlattrThreshold) .apply(); } |