mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Pause label remove from active speaker stickers, et add spacing on grid ones
This commit is contained in:
parent
e8274983cd
commit
64d33a67fb
3 changed files with 6 additions and 4 deletions
|
|
@ -39,7 +39,7 @@ class ConferenceWaitingRoomViewModel: ControlsViewModel {
|
|||
}
|
||||
|
||||
func reset() {
|
||||
joinLayout.value = .Grid
|
||||
joinLayout.value = .ActiveSpeaker // TODO add setting
|
||||
joinInProgress.value = false
|
||||
isMicrophoneMuted.value = !micAuthorized()
|
||||
isMuteMicrophoneEnabled.value = true
|
||||
|
|
|
|||
|
|
@ -124,8 +124,9 @@ class VoipActiveSpeakerParticipantCell: UICollectionViewCell {
|
|||
contentView.addSubview(displayName)
|
||||
displayName.matchParentSideBorders(insetedByDx:ActiveCallView.bottom_displayname_margin_left).alignParentBottom(withMargin:ActiveCallView.bottom_displayname_margin_bottom).done()
|
||||
|
||||
contentView.addSubview(pauseLabel)
|
||||
pauseLabel.toRightOf(displayName).alignParentBottom(withMargin:ActiveCallView.bottom_displayname_margin_bottom).done()
|
||||
// Paused label commented out (Android 10.06.2022)
|
||||
// contentView.addSubview(pauseLabel)
|
||||
//pauseLabel.toRightOf(displayName).alignParentBottom(withMargin:ActiveCallView.bottom_displayname_margin_bottom).done()
|
||||
|
||||
contentView.matchParentDimmensions().done()
|
||||
makeHeightMatchWidth().done()
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ class VoipGridParticipantCell: UICollectionViewCell {
|
|||
static let avatar_size = 80.0
|
||||
let switch_camera_button_margins = 8.0
|
||||
let switch_camera_button_size = 30
|
||||
let pause_label_left_margin = 5
|
||||
|
||||
|
||||
let videoView = UIView()
|
||||
|
|
@ -129,7 +130,7 @@ class VoipGridParticipantCell: UICollectionViewCell {
|
|||
displayName.alignParentLeft(withMargin:ActiveCallView.bottom_displayname_margin_left).alignParentBottom(withMargin:ActiveCallView.bottom_displayname_margin_bottom).done()
|
||||
|
||||
contentView.addSubview(pauseLabel)
|
||||
pauseLabel.toRightOf(displayName).alignParentBottom(withMargin:ActiveCallView.bottom_displayname_margin_bottom).done()
|
||||
pauseLabel.toRightOf(displayName,withLeftMargin: pause_label_left_margin).alignParentBottom(withMargin:ActiveCallView.bottom_displayname_margin_bottom).done()
|
||||
|
||||
contentView.matchParentDimmensions().done()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue