Fix splash screen

pull/35/head
Niels Andriesse 6 years ago
parent 838eec0c52
commit 3bbcdce95c

@ -16,14 +16,14 @@ public class LoadingViewController: UIViewController {
override public func loadView() {
self.view = UIView()
view.backgroundColor = UIColor.ows_materialBlue
view.backgroundColor = UIColor.lokiDarkestGray()
self.logoView = UIImageView(image: #imageLiteral(resourceName: "logoSignal"))
self.logoView = UIImageView(image: #imageLiteral(resourceName: "LokiLogo"))
view.addSubview(logoView)
logoView.autoCenterInSuperview()
logoView.autoPinToSquareAspectRatio()
logoView.autoMatch(.width, to: .width, of: view, withMultiplier: 1/3)
logoView.autoSetDimension(.width, toSize: 75)
logoView.autoSetDimension(.height, toSize: 71)
self.topLabel = buildLabel()
topLabel.alpha = 0

@ -51,7 +51,6 @@ NSString *NSStringForScreenLockUIState(ScreenLockUIState value)
[edgesView addSubview:imageView];
[imageView autoHCenterInSuperview];
const CGSize screenSize = UIScreen.mainScreen.bounds.size;
[imageView autoSetDimension:ALDimensionWidth toSize:75];
[imageView autoSetDimension:ALDimensionHeight toSize:71];

Loading…
Cancel
Save