@@ -43,7 +43,7 @@ struct ChatScreen: View {
43
43
VStack ( spacing: 0 ) {
44
44
MessageList ( messages: chat. messages, exchange: exchange)
45
45
46
- HStack ( spacing: 10 ) {
46
+ HStack ( spacing: 0 ) {
47
47
// Button {} label: {
48
48
// Text("Mute")
49
49
// .frame(maxWidth: .infinity)
@@ -66,11 +66,39 @@ struct ChatScreen: View {
66
66
// .cornerRadius(999)
67
67
// }
68
68
69
- CodeButton ( style: . filled, title: " Mute " /*, disabled: !chat.canMute*/) { }
70
- CodeButton ( style: . filled, title: " Unsubscribe " /*, disabled: !chat.canUnsubscribe*/) { }
69
+ // CodeButton(style: .filled, title: "Mute"/*, disabled: !chat.canMute*/) {}
70
+ // CodeButton(style: .filled, title: "Unsubscribe"/*, disabled: !chat.canUnsubscribe*/) {}
71
+ VStack {
72
+ Button { } label: {
73
+ Text ( " Mute " )
74
+ . frame ( maxWidth: . infinity)
75
+ . font ( . appTextMedium)
76
+ . foregroundStyle ( Color . textSecondary)
77
+ . padding ( . vertical, 15 )
78
+ . padding ( . horizontal, 30 )
79
+ . background ( Color . white. opacity ( 0.01 ) )
80
+ }
81
+ }
82
+ . frame ( maxWidth: . infinity, maxHeight: . infinity)
83
+ . hSeparator ( color: . rowSeparator, position: . trailing)
84
+
85
+ VStack {
86
+ Button { } label: {
87
+ Text ( " Unsubscribe " )
88
+ . frame ( maxWidth: . infinity)
89
+ . font ( . appTextMedium)
90
+ . foregroundStyle ( Color . textSecondary)
91
+ . padding ( . vertical, 15 )
92
+ . padding ( . horizontal, 30 )
93
+ . background ( Color . white. opacity ( 0.01 ) )
94
+ }
95
+ }
96
+ . frame ( maxWidth: . infinity, maxHeight: . infinity)
71
97
}
72
- . padding ( . vertical, 10 )
73
- . padding ( . horizontal, 20 )
98
+ . frame ( height: 60 )
99
+ // .padding(.vertical, 10)
100
+ // .padding(.horizontal, 20)
101
+ . vSeparator ( color: . rowSeparator, position: . top)
74
102
}
75
103
. onAppear {
76
104
didAppear ( )
0 commit comments