This repository was archived by the owner on Oct 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
HackIllinois/ViewControllers Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 13801380 "$(inherited)",
13811381 "@executable_path/Frameworks",
13821382 );
1383- MARKETING_VERSION = 2025.1.2 ;
1383+ MARKETING_VERSION = 2025.1.3 ;
13841384 ONLY_ACTIVE_ARCH = YES;
13851385 OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" -Xfrontend -warn-long-expression-type-checking=150";
13861386 PRODUCT_BUNDLE_IDENTIFIER = org.hackillinois.ios;
14171417 "$(inherited)",
14181418 "@executable_path/Frameworks",
14191419 );
1420- MARKETING_VERSION = 2025.1.2 ;
1420+ MARKETING_VERSION = 2025.1.3 ;
14211421 ONLY_ACTIVE_ARCH = YES;
14221422 PRODUCT_BUNDLE_IDENTIFIER = org.hackillinois.ios;
14231423 PRODUCT_NAME = "$(TARGET_NAME)";
Original file line number Diff line number Diff line change @@ -117,14 +117,15 @@ extension HIScheduleViewController {
117117 }
118118
119119 func currentPredicate( ) -> NSPredicate {
120- if onlyShifts {
121- // Return a predicate that matches no events when in shifts view
122- return NSPredicate ( value: false )
123- } else if onlyFavorites {
124- let currentTabPredicate = dataStore [ currentTab] . predicate
125- return NSCompoundPredicate ( andPredicateWithSubpredicates: [ currentTabPredicate, onlyFavoritesPredicate] )
120+ let currentTabPredicate = dataStore [ currentTab] . predicate
121+ if onlyFavorites {
122+ let compoundPredicate = NSCompoundPredicate ( andPredicateWithSubpredicates: [ currentTabPredicate, onlyFavoritesPredicate] )
123+ return compoundPredicate
124+ } else if onlyShifts {
125+ let noEventsPredicate = NSPredicate ( value: false )
126+ return noEventsPredicate
126127 } else {
127- return dataStore [ currentTab ] . predicate
128+ return currentTabPredicate
128129 }
129130 }
130131
You can’t perform that action at this time.
0 commit comments