mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-22 16:31:00 +00:00
Fix jump to latest not working on home
This commit is contained in:
parent
8a0cbcaa02
commit
f22671cc66
1 changed files with 2 additions and 1 deletions
|
@ -144,8 +144,9 @@ extension TimelineViewModel {
|
|||
}
|
||||
|
||||
private func clearHomeCache() async {
|
||||
if let client, timeline == .home {
|
||||
if let client {
|
||||
await cache.clearCache(for: client.id)
|
||||
await cache.setLatestSeenStatuses(ids: [], for: client)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue