Skip to content

Commit d77bd2c

Browse files
committed
wip
1 parent 6fba787 commit d77bd2c

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

Examples/Examples.xcodeproj/project.pbxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,6 @@
734734
"@executable_path/Frameworks",
735735
);
736736
MARKETING_VERSION = 1.0;
737-
OTHER_SWIFT_FLAGS = "-Xfrontend -warn-long-expression-type-checking=50";
738737
PRODUCT_BUNDLE_IDENTIFIER = co.pointfree.Reminders;
739738
PRODUCT_NAME = "$(TARGET_NAME)";
740739
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -762,7 +761,6 @@
762761
"@executable_path/Frameworks",
763762
);
764763
MARKETING_VERSION = 1.0;
765-
OTHER_SWIFT_FLAGS = "-Xfrontend -warn-long-expression-type-checking=50";
766764
PRODUCT_BUNDLE_IDENTIFIER = co.pointfree.Reminders;
767765
PRODUCT_NAME = "$(TARGET_NAME)";
768766
SWIFT_EMIT_LOC_STRINGS = YES;

Examples/Reminders/RemindersLists.swift

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,9 @@ struct RemindersListsView: View {
1010
.fetchAll(
1111
RemindersList
1212
.group(by: \.id)
13-
.leftJoin(Reminder.incomplete) { $0.id.eq($1.remindersListID) }
13+
.leftJoin(Reminder.all) { $0.id.eq($1.remindersListID) && !$1.isCompleted }
1414
.select {
15-
ReminderListState.Columns(
16-
remindersCount: $1.id.count(),
17-
remindersList: $0
18-
)
15+
ReminderListState.Columns(remindersCount: $1.id.count(), remindersList: $0)
1916
},
2017
animation: .default
2118
)

0 commit comments

Comments
 (0)