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 {