mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Refine theme.
This commit is contained in:
parent
ce4fdd5135
commit
931562de33
|
@ -71,7 +71,7 @@ class ColorPickerViewController: UIViewController, UIPickerViewDelegate, UIPicke
|
|||
|
||||
override func loadView() {
|
||||
self.view = UIView()
|
||||
view.backgroundColor = .white
|
||||
view.backgroundColor = Theme.backgroundColor
|
||||
view.addSubview(pickerView)
|
||||
|
||||
pickerView.autoVCenterInSuperview()
|
||||
|
|
|
@ -68,9 +68,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
|
||||
- (void)createViews
|
||||
{
|
||||
UIColor *darkGrey = [UIColor colorWithRGBHex:0x404040];
|
||||
|
||||
self.view.backgroundColor = [UIColor blackColor];
|
||||
self.view.backgroundColor = UIColor.blackColor;
|
||||
|
||||
self.qrScanningController = [OWSQRCodeScanningViewController new];
|
||||
self.qrScanningController.scanDelegate = self;
|
||||
|
@ -79,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
[self.qrScanningController.view autoPinToTopLayoutGuideOfViewController:self withInset:0];
|
||||
|
||||
UIView *footer = [UIView new];
|
||||
footer.backgroundColor = darkGrey;
|
||||
footer.backgroundColor = [UIColor colorWithWhite:0.25f alpha:1.f];
|
||||
[self.view addSubview:footer];
|
||||
[footer autoPinWidthToSuperview];
|
||||
[footer autoPinEdgeToSuperviewEdge:ALEdgeBottom];
|
||||
|
|
Loading…
Reference in a new issue