From a9395c78f8c4e005f1d1f76067158348baeeabe3 Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Wed, 11 Sep 2013 20:36:09 +0200 Subject: [PATCH] Move description texts above input fields in authenticator UI --- Classes/BITAuthenticationViewController.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Classes/BITAuthenticationViewController.m b/Classes/BITAuthenticationViewController.m index ccacc2c3b7..8c93026602 100644 --- a/Classes/BITAuthenticationViewController.m +++ b/Classes/BITAuthenticationViewController.m @@ -165,10 +165,12 @@ #pragma mark - Table view data source - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { - return 1; + return 2; } - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { + if (section == 0) return 0; + if(self.showsLoginViaWebButton) { return 0; } else {