We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f9af26 commit 287db90Copy full SHA for 287db90
app/src/main/java/org/schabi/newpipe/local/history/HistoryViewModel.kt
@@ -21,7 +21,7 @@ class HistoryViewModel(
21
) : AndroidViewModel(application) {
22
private val historyDao = NewPipeDatabase.getInstance(getApplication()).streamHistoryDAO()
23
24
- val sortKey = savedStateHandle.getStateFlow(ORDER_KEY, SortKey.MOST_PLAYED)
+ val sortKey = savedStateHandle.getStateFlow(ORDER_KEY, SortKey.LAST_PLAYED)
25
val historyItems = sortKey
26
.flatMapLatest {
27
Pager(PagingConfig(pageSize = 20)) {
0 commit comments