Commit ae60a5da authored by Felix Paul Kühne's avatar Felix Paul Kühne

cloud login view: save a few selector dispatches

parent e8802e5e
......@@ -58,7 +58,7 @@
</connections>
</button>
</subviews>
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
<color key="backgroundColor" red="0.12156862745098039" green="0.12156862745098039" blue="0.12156862745098039" alpha="1" colorSpace="calibratedRGB"/>
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
</view>
</objects>
......
......@@ -75,7 +75,6 @@
_downloadingBarLabel = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"DOWNLOADING",@"") style:UIBarButtonItemStylePlain target:nil action:nil];
[_downloadingBarLabel setTitleTextAttributes:@{ UITextAttributeFont : [UIFont systemFontOfSize:11.] } forState:UIControlStateNormal];
self.loginToCloudStorageView.backgroundColor = [UIColor colorWithWhite:.122 alpha:1.];
[self.cloudStorageLogo setImage:[UIImage imageNamed:@"dropbox-white.png"]];
[self.cloudStorageLogo sizeToFit];
self.cloudStorageLogo.center = self.view.center;
......
......@@ -74,8 +74,9 @@
_downloadingBarLabel = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"DOWNLOADING",@"") style:UIBarButtonItemStylePlain target:nil action:nil];
[_downloadingBarLabel setTitleTextAttributes:@{ UITextAttributeFont : [UIFont systemFontOfSize:11.] } forState:UIControlStateNormal];
self.loginToCloudStorageView.backgroundColor = [UIColor colorWithWhite:.122 alpha:1.];
[self _setupLogo];
[self.cloudStorageLogo setImage:[UIImage imageNamed:@"DriveWhite"]];
[self.cloudStorageLogo sizeToFit];
self.cloudStorageLogo.center = self.view.center;
[self.loginButton setTitle:NSLocalizedString(@"DROPBOX_LOGIN", @"") forState:UIControlStateNormal];
......@@ -89,13 +90,6 @@
[self.view addSubview:_activityIndicator];
}
- (void)_setupLogo
{
[self.cloudStorageLogo setImage:[UIImage imageNamed:@"DriveWhite"]];
[self.cloudStorageLogo sizeToFit];
self.cloudStorageLogo.center = self.view.center;
}
- (GTMOAuth2ViewControllerTouch *)createAuthController
{
_authController = [[GTMOAuth2ViewControllerTouch alloc] initWithScope:kGTLAuthScopeDrive
......
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