Skip to content

Commit

Permalink
chore: remove snack bar error for course dates info API on course home (
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedbashir authored Jul 19, 2024
1 parent db0db63 commit e585f7a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,7 @@ public class CourseContainerViewModel: BaseCourseViewModel {
self.courseDeadlineInfo = courseDeadlineInfo
}
} catch let error {
if error.isInternetError || error is NoCachedDataError {
errorMessage = CoreLocalization.Error.slowOrNoInternetConnection
} else {
errorMessage = CoreLocalization.Error.unknownError
}
debugLog(error.localizedDescription)
}
}

Expand Down

0 comments on commit e585f7a

Please sign in to comment.