From aa18757a48c1a53f06305b61dcf76d6ac00715df Mon Sep 17 00:00:00 2001 From: Benoit Martins Date: Fri, 12 Jan 2024 15:41:12 +0100 Subject: [PATCH] Disable useless buttons in call view --- Linphone/UI/Call/CallView.swift | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/Linphone/UI/Call/CallView.swift b/Linphone/UI/Call/CallView.swift index 8d06e91b6..c7d34b298 100644 --- a/Linphone/UI/Call/CallView.swift +++ b/Linphone/UI/Call/CallView.swift @@ -152,12 +152,13 @@ struct CallView: View { Image("phone-transfer") .renderingMode(.template) .resizable() - .foregroundStyle(.white) + .foregroundStyle(Color.gray500) .frame(width: 32, height: 32) } .frame(width: 60, height: 60) - .background(Color.gray500) + .background(Color.gray600) .cornerRadius(40) + .disabled(true) Text("Transfer") .foregroundStyle(.white) @@ -171,12 +172,13 @@ struct CallView: View { Image("phone-plus") .renderingMode(.template) .resizable() - .foregroundStyle(.white) + .foregroundStyle(Color.gray500) .frame(width: 32, height: 32) } .frame(width: 60, height: 60) - .background(Color.gray500) + .background(Color.gray600) .cornerRadius(40) + .disabled(true) Text("New call") .foregroundStyle(.white) @@ -190,12 +192,13 @@ struct CallView: View { Image("phone-list") .renderingMode(.template) .resizable() - .foregroundStyle(.white) + .foregroundStyle(Color.gray500) .frame(width: 32, height: 32) } .frame(width: 60, height: 60) - .background(Color.gray500) + .background(Color.gray600) .cornerRadius(40) + .disabled(true) Text("Call list") .foregroundStyle(.white) @@ -209,12 +212,13 @@ struct CallView: View { Image("dialer") .renderingMode(.template) .resizable() - .foregroundStyle(.white) + .foregroundStyle(Color.gray500) .frame(width: 32, height: 32) } .frame(width: 60, height: 60) - .background(Color.gray500) + .background(Color.gray600) .cornerRadius(40) + .disabled(true) Text("Dialer") .foregroundStyle(.white)