mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-03 13:56:27 +00:00
Composer: Fix account switching not posting on the correct account
This commit is contained in:
parent
02aa91f432
commit
5ff0330fb7
1 changed files with 4 additions and 0 deletions
|
@ -80,6 +80,10 @@ public struct StatusEditorView: View {
|
||||||
object: nil)
|
object: nil)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.onChange(of: currentAccount.account?.id, perform: { _ in
|
||||||
|
viewModel.client = client
|
||||||
|
viewModel.currentAccount = currentAccount.account
|
||||||
|
})
|
||||||
.background(theme.primaryBackgroundColor)
|
.background(theme.primaryBackgroundColor)
|
||||||
.navigationTitle(viewModel.mode.title)
|
.navigationTitle(viewModel.mode.title)
|
||||||
.navigationBarTitleDisplayMode(.inline)
|
.navigationBarTitleDisplayMode(.inline)
|
||||||
|
|
Loading…
Reference in a new issue