Fix local timeline -> home switch
This commit is contained in:
parent
ad7bc999d3
commit
9320b2f114
|
@ -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 New Issue