diff --git a/app/src/main/java/com/cappielloantonio/tempo/util/Preferences.kt b/app/src/main/java/com/cappielloantonio/tempo/util/Preferences.kt
index 7abb917f..62a5e276 100644
--- a/app/src/main/java/com/cappielloantonio/tempo/util/Preferences.kt
+++ b/app/src/main/java/com/cappielloantonio/tempo/util/Preferences.kt
@@ -73,7 +73,6 @@ object Preferences {
private const val CONTINUOUS_PLAY = "continuous_play"
private const val LAST_INSTANT_MIX = "last_instant_mix"
private const val ALLOW_PLAYLIST_DUPLICATES = "allow_playlist_duplicates"
-
private const val EQUALIZER_ENABLED = "equalizer_enabled"
private const val EQUALIZER_BAND_LEVELS = "equalizer_band_levels"
private const val MINI_SHUFFLE_BUTTON_VISIBILITY = "mini_shuffle_button_visibility"
@@ -611,6 +610,9 @@ object Preferences {
@JvmStatic
fun allowPlaylistDuplicates(): Boolean {
return App.getInstance().preferences.getBoolean(ALLOW_PLAYLIST_DUPLICATES, false)
+ }
+
+ @JvmStatic
fun setEqualizerEnabled(enabled: Boolean) {
App.getInstance().preferences.edit().putBoolean(EQUALIZER_ENABLED, enabled).apply()
}
diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml
index 759a0106..1dc81873 100644
--- a/app/src/main/res/values-pl/strings.xml
+++ b/app/src/main/res/values-pl/strings.xml
@@ -304,8 +304,8 @@
Zatwierdzenie nieodwracalnie usunie wszystkie zapisane elementy
Usuń zapisane elementy
Pamięć do pobierania
- Zmień ustawienia audio
- Korektor systemowy
+ Zmień ustawienia audio
+ Korektor systemowy
https://github.com/eddyizm/tempo
Śledź tworzenie aplikacji
GitHub
diff --git a/app/src/main/res/xml/global_preferences.xml b/app/src/main/res/xml/global_preferences.xml
index 6f27bcdd..29cb7b85 100644
--- a/app/src/main/res/xml/global_preferences.xml
+++ b/app/src/main/res/xml/global_preferences.xml
@@ -1,15 +1,11 @@
-
-
+ android:layout_height="match_parent"
+ android:key="equalizer"
+ android:summary="@string/settings_system_equalizer_summary"
+ android:title="@string/settings_system_equalizer_title" />
-
-
-
-
+
+