No Issue - Fixes the offset key to prevent endless history bug
parent
97f7d5ba87
commit
a75c2f7cfb
|
@ -43,7 +43,9 @@ class HistoryDataSource(
|
|||
?: visit.url.getHostFromUrl()
|
||||
?: visit.url
|
||||
|
||||
HistoryItem(offset + id, title, visit.url, visit.visitTime)
|
||||
// We want IDs to start at 1, not 0 to be able to send the correct offset
|
||||
// to the `historyProvider.getHistory` call.
|
||||
HistoryItem(offset + id + 1, title, visit.url, visit.visitTime)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue