mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-02 10:23:33 +00:00
feat: added optional information about audio quality for horizontal track adapters
This commit is contained in:
parent
733102a8a4
commit
7488346804
9 changed files with 44 additions and 6 deletions
|
|
@ -54,6 +54,7 @@ object Preferences {
|
|||
private const val MIN_STAR_RATING = "min_star_rating"
|
||||
private const val ARTIST_ALBUM_LAYOUT = "artist_album_layout"
|
||||
private const val ALWAYS_ON_DISPLAY = "always_on_display"
|
||||
private const val AUDIO_QUALITY_PER_ITEM = "audio_quality_per_item"
|
||||
|
||||
|
||||
@JvmStatic
|
||||
|
|
@ -390,4 +391,9 @@ object Preferences {
|
|||
fun isDisplayAlwaysOn(): Boolean {
|
||||
return App.getInstance().preferences.getBoolean(ALWAYS_ON_DISPLAY, false)
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun showAudioQuality(): Boolean {
|
||||
return App.getInstance().preferences.getBoolean(AUDIO_QUALITY_PER_ITEM, false)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue