mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-26 18:21:00 +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)
|
||||
}
|
||||
}
|
||||
.onChange(of: currentAccount.account?.id, perform: { _ in
|
||||
viewModel.client = client
|
||||
viewModel.currentAccount = currentAccount.account
|
||||
})
|
||||
.background(theme.primaryBackgroundColor)
|
||||
.navigationTitle(viewModel.mode.title)
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
|
|
Loading…
Reference in a new issue