summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers/LoginViewController.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-03-21 20:17:42 +0300
committerGravatar Vitaly Takmazov2019-03-21 20:17:42 +0300
commit6b40f06a691e1264f6e35b6a5616198e6977787d (patch)
treed7aa6427861523a8447d52a8b45d57a605a1a714 /Juick/ViewControllers/LoginViewController.m
parente6fec9707f61b5d521bf1a2e6a85998f2466bdfa (diff)
Named colours
Diffstat (limited to 'Juick/ViewControllers/LoginViewController.m')
-rw-r--r--Juick/ViewControllers/LoginViewController.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/Juick/ViewControllers/LoginViewController.m b/Juick/ViewControllers/LoginViewController.m
index de18286..1894b1c 100644
--- a/Juick/ViewControllers/LoginViewController.m
+++ b/Juick/ViewControllers/LoginViewController.m
@@ -8,7 +8,6 @@
#import "LoginViewController.h"
#import "User.h"
-#import "ColorScheme.h"
#import "AppDelegate.h"
#import "APIClient.h"
@@ -21,8 +20,8 @@
- (void) awakeFromNib {
[super awakeFromNib];
self.title = @"Sign in";
- [self.view setBackgroundColor:[ColorScheme mainBackground]];
- [self.visualEffectView.contentView setBackgroundColor:[ColorScheme headerBackground]];
+ [self.view setBackgroundColor:[UIColor colorNamed:@"Background"]];
+ [self.visualEffectView.contentView setBackgroundColor:[UIColor colorNamed:@"Background"]];
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCancel
target:self action:@selector(cancelSignIn)];