Commit 0ee5cbdd authored by Kateryna Kostiuk's avatar Kateryna Kostiuk

UI: fix button visibility

Fix hide preview button visibility when switching between
conversations.

Change-Id: If86e54ad117d0b0f73d216d7580ca6d7262b5f3e
parent bbac5ca4
......@@ -338,15 +338,15 @@ CVPixelBufferRef pixelBufferPreview;
}
-(void) setUpVideoCallView {
self.previewView.stopRendering = false;
self.videoMTKView.stopRendering = false;
[previewView fillWithBlack];
[self.videoMTKView fillWithBlack];
[previewView setHidden: NO];
[self.videoMTKView setHidden:NO];
[hidePreviewBackground setHidden: YES];
[hidePreviewBackground setHidden: self.previewView.stopRendering];
[bluerBackgroundEffect setHidden:YES];
[backgroundImage setHidden:YES];
self.previewView.stopRendering = false;
self.videoMTKView.stopRendering = false;
}
-(void) setUpAudioOnlyView {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment