aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/ios/iOS UI Test/iOS UI Test/SettingsViewController.m
diff options
context:
space:
mode:
authorGravatar Matt Ronge <mronge@mronge.com>2014-01-08 20:40:22 -0600
committerGravatar Matt Ronge <mronge@mronge.com>2014-01-08 20:40:22 -0600
commit90f5ce81b93394b4408bf64309d196ebb24cd2de (patch)
treeed191da6e18601fcb6cf23e77f132527d239e372 /example/ios/iOS UI Test/iOS UI Test/SettingsViewController.m
parent451029178a7d612ea64ccc2d8289dcae6bb57db7 (diff)
iOS 7ify the example project
Diffstat (limited to 'example/ios/iOS UI Test/iOS UI Test/SettingsViewController.m')
-rw-r--r--example/ios/iOS UI Test/iOS UI Test/SettingsViewController.m9
1 files changed, 8 insertions, 1 deletions
diff --git a/example/ios/iOS UI Test/iOS UI Test/SettingsViewController.m b/example/ios/iOS UI Test/iOS UI Test/SettingsViewController.m
index d17b479a..c1766796 100644
--- a/example/ios/iOS UI Test/iOS UI Test/SettingsViewController.m
+++ b/example/ios/iOS UI Test/iOS UI Test/SettingsViewController.m
@@ -30,7 +30,14 @@ NSString * const OAuthEnabledKey = @"OAuth2Enabled";
- (void)viewDidLoad {
[super viewDidLoad];
- self.view.backgroundColor = [UIColor underPageBackgroundColor];
+ self.title = @"Settings";
+
+ UIBarButtonItem *doneButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone
+ target:self
+ action:@selector(done:)];
+ self.navigationItem.rightBarButtonItem = doneButton;
+
+ self.view.backgroundColor = [UIColor lightGrayColor];
self.emailTextField.text = [[NSUserDefaults standardUserDefaults] stringForKey:UsernameKey];
self.passwordTextField.text = [[FXKeychain defaultKeychain] objectForKey:PasswordKey];
self.hostnameTextField.text = [[NSUserDefaults standardUserDefaults] stringForKey:HostnameKey];