diff options
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.m | 9 |
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]; |