Fix DM view

This commit is contained in:
Thomas Ricouard 2023-12-29 18:56:50 +01:00
parent c328c6c0be
commit b4013e39c0

View file

@ -87,12 +87,6 @@ public struct ConversationsListView: View {
#endif #endif
.navigationTitle("conversations.navigation-title") .navigationTitle("conversations.navigation-title")
.navigationBarTitleDisplayMode(.inline) .navigationBarTitleDisplayMode(.inline)
.toolbar {
StatusEditorToolbarItem(visibility: .direct)
if UIDevice.current.userInterfaceIdiom == .pad, !preferences.showiPadSecondaryColumn {
SecondaryColumnToolbarItem()
}
}
.onChange(of: watcher.latestEvent?.id) { .onChange(of: watcher.latestEvent?.id) {
if let latestEvent = watcher.latestEvent { if let latestEvent = watcher.latestEvent {
viewModel.handleEvent(event: latestEvent) viewModel.handleEvent(event: latestEvent)