Private
Public Access
1
0

autosyncing, appearance tweaks

This commit is contained in:
2025-08-25 00:37:48 -07:00
parent f0fd738935
commit 402b5a5f80
7 changed files with 64 additions and 11 deletions

View File

@@ -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