From 6ceac73d60abe84716da15b05e07d3627e7f0ecf Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Thu, 8 Sep 2022 21:29:58 +0700 Subject: [PATCH] Clean some unintended line breaks --- Natives/LauncherPreferencesViewController2.m | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Natives/LauncherPreferencesViewController2.m b/Natives/LauncherPreferencesViewController2.m index c01c20f2..09ee986b 100644 --- a/Natives/LauncherPreferencesViewController2.m +++ b/Natives/LauncherPreferencesViewController2.m @@ -237,8 +237,7 @@ typedef void(^CreateView)(UITableViewCell *, NSString *, NSDictionary *); return self.prefSections.count; } -- (UIView *)tableView:(UITableView *)tableView -viewForHeaderInSection:(NSInteger)section { +- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section { if (section != 0 || self.navigationController != nil) { return nil; } @@ -280,8 +279,7 @@ viewForHeaderInSection:(NSInteger)section { UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:cellID]; if (cell == nil) { - cell = [[UITableViewCell alloc] initWithStyle:cellStyle - reuseIdentifier:cellID]; + cell = [[UITableViewCell alloc] initWithStyle:cellStyle reuseIdentifier:cellID]; cell.detailTextLabel.numberOfLines = 0; cell.detailTextLabel.lineBreakMode = NSLineBreakByWordWrapping; }