macOS client overlays, menus and notifications
This commit is contained in:
@@ -195,7 +195,7 @@ private struct InboxCard: View {
|
||||
@FocusState private var focus: String?
|
||||
|
||||
var body: some View {
|
||||
Group {
|
||||
VStack(spacing: 0) {
|
||||
if let model {
|
||||
VStack(alignment: .leading, spacing: 0) {
|
||||
HStack(alignment: .firstTextBaseline, spacing: 10) {
|
||||
@@ -215,6 +215,7 @@ private struct InboxCard: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.onAppear {
|
||||
if model == nil {
|
||||
model = CardModel(item, store, overlays)
|
||||
|
||||
Reference in New Issue
Block a user