mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-27 04:54:55 +01:00
Composer: Fix account switching not posting on the correct account
This commit is contained in:
parent
02aa91f432
commit
5ff0330fb7
@ -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…
x
Reference in New Issue
Block a user