Skip to content

Commit

Permalink
Update ArtemisCore to 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
terlan98 committed Jan 4, 2024
1 parent 9c9025d commit 1f82cd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Themis.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1877,7 +1877,7 @@
repositoryURL = "https://github.com/ls1intum/artemis-ios-core-modules";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 7.0.0;
minimumVersion = 8.0.0;
};
};
65F007962A86C837000FD641 /* XCRemoteSwiftPackageReference "SwiftUI-Shimmer" */ = {
Expand Down
2 changes: 1 addition & 1 deletion Themis/ViewModels/Course/CourseViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class CourseViewModel: ObservableObject {
log.error(String(describing: error))
}

courses = coursesForDashboard.value?.map({ $0.course }).filter({ $0.isAtLeastTutorInCourse }) ?? []
courses = coursesForDashboard.value?.courses?.map({ $0.course }).filter({ $0.isAtLeastTutorInCourse }) ?? []
showCoursesIsEmptyMessage = courses.isEmpty

if !pickerCourseIDs.contains(where: { $0 == shownCourseID }) {
Expand Down

0 comments on commit 1f82cd8

Please sign in to comment.