mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Change recording toast icon
This commit is contained in:
parent
8afe787d2a
commit
b92690865f
1 changed files with 6 additions and 0 deletions
|
|
@ -33,6 +33,12 @@ struct ToastView: View {
|
|||
.renderingMode(.template)
|
||||
.frame(width: 25, height: 25, alignment: .leading)
|
||||
.foregroundStyle(toastViewModel.toastMessage.contains("Success") ? Color.greenSuccess500 : Color.redDanger500)
|
||||
} else if toastViewModel.toastMessage.contains("is recording") {
|
||||
Image("record-fill")
|
||||
.resizable()
|
||||
.renderingMode(.template)
|
||||
.frame(width: 25, height: 25, alignment: .leading)
|
||||
.foregroundStyle(Color.redDanger500)
|
||||
} else if toastViewModel.toastMessage.contains("Info_") {
|
||||
Image("trusted")
|
||||
.resizable()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue