mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
If a meeting has been cancelled, then mark it as such in the meetings list
This commit is contained in:
parent
22d37cfce9
commit
8261e8d5c1
1 changed files with 8 additions and 2 deletions
|
|
@ -66,8 +66,14 @@ struct MeetingsFragment: View {
|
|||
.padding(.top, 5)
|
||||
.default_text_style_500(styleSize: 15)
|
||||
}
|
||||
Text(model.model!.time) // this time string is formatted for the current timezone, we use the selected timezone only when displaying details
|
||||
.default_text_style_500(styleSize: 15)
|
||||
if model.model!.confInfo.state != ConferenceInfo.State.Cancelled {
|
||||
Text(model.model!.time) // this time string is formatted for the current device timezone, we use the selected timezone only when displaying details
|
||||
.default_text_style_500(styleSize: 15)
|
||||
} else {
|
||||
Text("Cancelled")
|
||||
.foregroundStyle(Color.redDanger500)
|
||||
.default_text_style_500(styleSize: 15)
|
||||
}
|
||||
}
|
||||
}
|
||||
.padding(.leading, 30)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue