mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-26 02:01:02 +00:00
Fix local timeline -> home switch
This commit is contained in:
parent
ad7bc999d3
commit
9320b2f114
1 changed files with 5 additions and 1 deletions
|
@ -161,7 +161,11 @@ public struct TimelineView: View {
|
|||
default:
|
||||
switch oldValue {
|
||||
case let .remoteLocal(server, _):
|
||||
viewModel.client = Client(server: server)
|
||||
if newValue == .latest {
|
||||
viewModel.client = Client(server: server)
|
||||
} else {
|
||||
viewModel.client = client
|
||||
}
|
||||
default:
|
||||
viewModel.client = client
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue