Просмотр исходного кода

Use plain style table views where we only have one section and no section header.

Ryan Olson лет назад: 12
Родитель
Сommit
762e5ba260

+ 1 - 2
Classes/Global State Explorers/FLEXGlobalsTableViewController.m

@@ -39,8 +39,7 @@ typedef NS_ENUM(NSUInteger, FLEXGlobalsRow) {
 
 - (id)initWithStyle:(UITableViewStyle)style
 {
-    // Force grouped style.
-    self = [super initWithStyle:UITableViewStyleGrouped];
+    self = [super initWithStyle:style];
     if (self) {
         self.title = @"🌎  Global State";
     }

+ 1 - 1
Classes/Global State Explorers/FLEXLibrariesTableViewController.m

@@ -21,7 +21,7 @@
 
 - (id)initWithStyle:(UITableViewStyle)style
 {
-    self = [super initWithStyle:UITableViewStyleGrouped];
+    self = [super initWithStyle:style];
     if (self) {
         [self loadImageNames];
     }