mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-23 21:42:03 +01:00
Fix jump to latest not working on home
This commit is contained in:
parent
8a0cbcaa02
commit
f22671cc66
@ -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 New Issue
Block a user