Room: When a call is active, turn the call button into a hangup button

This commit is contained in:
manuroe
2016-08-09 12:24:58 +02:00
parent 505a2fc7d8
commit 0118ddca72
8 changed files with 97 additions and 2 deletions
@@ -36,6 +36,7 @@
@property (weak, nonatomic) IBOutlet UIButton *attachMediaButton;
@property (weak, nonatomic) IBOutlet UIButton *voiceCallButton;
@property (weak, nonatomic) IBOutlet UIButton *hangupCallButton;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *voiceCallButtonWidthConstraint;
@@ -44,4 +45,9 @@
*/
@property (nonatomic) BOOL supportCallOption;
/**
Tell whether a call is active.
*/
@property (nonatomic) BOOL activeCall;
@end