diff --git a/Riot/Modules/Call/CallViewController.h b/Riot/Modules/Call/CallViewController.h index 0c88e2aef..98bedce60 100644 --- a/Riot/Modules/Call/CallViewController.h +++ b/Riot/Modules/Call/CallViewController.h @@ -29,7 +29,6 @@ // Effect views @property (weak, nonatomic) IBOutlet MXKImageView *blurredCallerImageView; -@property (weak, nonatomic) IBOutlet UIView *switchCameraGradientContainerView; // At the end of call, this flag indicates if the prompt to use the fallback should be displayed @property (nonatomic) BOOL shouldPromptForStunServerFallback; diff --git a/Riot/Modules/Call/CallViewController.m b/Riot/Modules/Call/CallViewController.m index b9b2d8f6a..1cd607794 100644 --- a/Riot/Modules/Call/CallViewController.m +++ b/Riot/Modules/Call/CallViewController.m @@ -145,16 +145,6 @@ self.localPreviewContainerView.layer.borderWidth = 2; self.localPreviewContainerView.layer.cornerRadius = 5; self.localPreviewContainerView.clipsToBounds = YES; - - CAGradientLayer *gradient = [CAGradientLayer layer]; - - gradient.frame = self.switchCameraGradientContainerView.bounds; - gradient.colors = @[ - (id)[UIColor colorWithWhite:0.0 alpha:0.0].CGColor, - (id)[UIColor colorWithWhite:0.0 alpha:1.0].CGColor - ]; - - [self.switchCameraGradientContainerView.layer insertSublayer:gradient atIndex:0]; } - (void)viewWillDisappear:(BOOL)animated diff --git a/Riot/Modules/Call/CallViewController.xib b/Riot/Modules/Call/CallViewController.xib index ea34ffbae..8b357167c 100644 --- a/Riot/Modules/Call/CallViewController.xib +++ b/Riot/Modules/Call/CallViewController.xib @@ -38,7 +38,6 @@ -