mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 07:59:20 +00:00
Fixed dual spinner joining conference + set color to make it visible
This commit is contained in:
parent
9ab5a0f106
commit
c09519bcc1
3 changed files with 5 additions and 5 deletions
|
|
@ -28,7 +28,7 @@ import linphonesw
|
|||
var conferenceGridView: VoipConferenceGridView? = nil
|
||||
var conferenceActiveSpeakerView: VoipConferenceActiveSpeakerView? = nil
|
||||
var conferenceAudioOnlyView: VoipConferenceAudioOnlyView? = nil
|
||||
let conferenceJoinSpinner = RotatingSpinner()
|
||||
let conferenceJoinSpinner = RotatingSpinner(color:VoipTheme.dark_grey_color)
|
||||
@objc var participantsListView : ParticipantsListView? = nil
|
||||
|
||||
static let compositeDescription = UICompositeViewDescription(ConferenceCallView.self, statusBar: StatusBarView.self, tabBar: nil, sideMenu: nil, fullscreen: false, isLeftFragment: false,fragmentWith: nil)
|
||||
|
|
|
|||
|
|
@ -57,13 +57,13 @@ class VoipConferenceActiveSpeakerView: UIView, UICollectionViewDataSource, UICol
|
|||
|
||||
let layout: UICollectionViewFlowLayout = UICollectionViewFlowLayout()
|
||||
var fullScreenOpaqueMasqForNotchedDevices = UIView()
|
||||
let conferenceJoinSpinner = RotatingSpinner()
|
||||
let conferenceJoinSpinner = RotatingSpinner(color:VoipTheme.dark_grey_color)
|
||||
|
||||
|
||||
var conferenceViewModel: ConferenceViewModel? = nil {
|
||||
didSet {
|
||||
if let model = conferenceViewModel {
|
||||
self.setJoininngSpeakerState(enabled: true)
|
||||
self.setJoininngSpeakerState(enabled: false)
|
||||
self.activeSpeakerAvatar.showAsAvatarIcon()
|
||||
model.subject.readCurrentAndObserve { (subject) in
|
||||
self.subjectLabel.text = subject
|
||||
|
|
|
|||
|
|
@ -21,10 +21,10 @@ import Foundation
|
|||
|
||||
class RotatingSpinner : UIImageView {
|
||||
|
||||
init () {
|
||||
init (color:UIColor = .white) {
|
||||
super.init(frame: .zero)
|
||||
self.image = UIImage(named: "voip_spinner")
|
||||
self.tint(UIColor.white)
|
||||
self.tint(color)
|
||||
self.contentMode = .scaleAspectFit
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue