@@ -29,11 +29,11 @@ struct ContactRequestsMenuEntry: View {
2929 . buttonStyle ( BorderlessButtonStyle ( ) )
3030
3131 Button {
32- // deny request
32+ // deny request and block contact
3333 MLXMPPManager . sharedInstance ( ) . remove ( contact)
3434 MLXMPPManager . sharedInstance ( ) . block ( true , contact: contact)
3535 } label: {
36- Image ( systemName: " xmark. circle" )
36+ Image ( systemName: " person.crop. circle.badge.checkmark " )
3737 . foregroundStyle ( Color . red)
3838 }
3939 //see https://www.hackingwithswift.com/forums/swiftui/tap-button-in-hstack-activates-all-button-actions-ios-14-swiftui-2/2952
@@ -43,7 +43,7 @@ struct ContactRequestsMenuEntry: View {
4343 // deny request
4444 MLXMPPManager . sharedInstance ( ) . remove ( contact)
4545 } label: {
46- Image ( systemName: " trash. circle" )
46+ Image ( systemName: " person.crop. circle.badge.minus " )
4747 . foregroundStyle ( Color . red)
4848 }
4949 //see https://www.hackingwithswift.com/forums/swiftui/tap-button-in-hstack-activates-all-button-actions-ios-14-swiftui-2/2952
@@ -55,7 +55,7 @@ struct ContactRequestsMenuEntry: View {
5555 let appDelegate = UIApplication . shared. delegate as! MonalAppDelegate
5656 appDelegate. openChat ( of: contact)
5757 } label: {
58- Image ( systemName: " checkmark. circle" )
58+ Image ( systemName: " person.crop. circle.badge.checkmark " )
5959 . foregroundStyle ( Color . green)
6060 }
6161 //see https://www.hackingwithswift.com/forums/swiftui/tap-button-in-hstack-activates-all-button-actions-ios-14-swiftui-2/2952
0 commit comments