mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 03:20:50 +02:00
Update icons & more
This commit is contained in:
@@ -145,6 +145,16 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user