autosyncing, appearance tweaks
This commit is contained in:
@@ -28,8 +28,10 @@ struct MessageEntryView: View
|
||||
.font(.body)
|
||||
.scrollDisabled(true)
|
||||
.padding(8.0)
|
||||
.disabled(selectedConversation == nil)
|
||||
.background {
|
||||
RoundedRectangle(cornerRadius: 6.0)
|
||||
.stroke(SeparatorShapeStyle())
|
||||
.fill(.background)
|
||||
}
|
||||
|
||||
@@ -41,6 +43,10 @@ struct MessageEntryView: View
|
||||
}
|
||||
.padding(10.0)
|
||||
}
|
||||
|
||||
.onChange(of: selectedConversation) { oldValue, newValue in
|
||||
viewModel.draftText = ""
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Types
|
||||
|
||||
Reference in New Issue
Block a user