1 parent 81f748a commit 61ff9e9Copy full SHA for 61ff9e9
1 file changed
Classes/GlobalStateExplorers/DatabaseBrowser/FLEXTableContentViewController.m
@@ -54,8 +54,8 @@ - (instancetype)initWithColumns:(NSArray<NSString *> *)columnNames
54
tableName:(nullable NSString *)tableName
55
database:(nullable id<FLEXDatabaseManager>)databaseManager {
56
// Must supply all optional parameters as one, or none
57
- BOOL all = rowIDs && tableName && databaseManager;
58
- BOOL none = !rowIDs && !tableName && !databaseManager;
+ BOOL all = tableName && databaseManager;
+ BOOL none = !tableName && !databaseManager;
59
NSParameterAssert(all || none);
60
61
self = [super init];
0 commit comments