Add an option to pause the search history (#324, #455)

This commit is contained in:
Bnyro
2022-10-16 15:15:32 +00:00
committed by GitHub
parent 9aa051068b
commit 6dd88b796e
5 changed files with 57 additions and 33 deletions

View File

@@ -34,6 +34,7 @@ const val isShowingThumbnailInLockscreenKey = "isShowingThumbnailInLockscreen"
const val homeScreenTabIndexKey = "homeScreenTabIndex"
const val searchResultScreenTabIndexKey = "searchResultScreenTabIndex"
const val artistScreenTabIndexKey = "artistScreenTabIndex"
const val pauseSearchHistoryKey = "pauseSearchHistory"
inline fun <reified T : Enum<T>> SharedPreferences.getEnum(
key: String,