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 and rnr committed Oct 1, 2024
1 parent 7565c64 commit 47e216f
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,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 47e216f

Please sign in to comment.