mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-19 01:23:55 +00:00
fix: inconsistent search history order
This commit is contained in:
@@ -31,7 +31,7 @@ class SearchHistoryAdapter(private val type: String, private val searchClicked:
|
||||
PrefManager.getLiveVal(historyType, mutableSetOf<String>()).asLiveStringSet()
|
||||
searchHistoryLiveData?.observeForever {
|
||||
searchHistory = it.toMutableSet()
|
||||
submitList(searchHistory?.reversed())
|
||||
submitList(searchHistory?.toList())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user