Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
refactor: remove redundant code from condition
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedbashir committed Oct 19, 2023
1 parent 3620874 commit 7efb324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/CoursesContainerViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class CoursesContainerViewController: UICollectionViewController, ScrollableDele
}

private var shouldShowFooter: Bool {
return context == .enrollmentList && isDiscoveryEnabled && courses.isEmpty && canShowEmptyScreen
return context == .enrollmentList && isDiscoveryEnabled && canShowEmptyScreen
}

//Empty Screen should be shown after fetching the enrollments API
Expand Down

0 comments on commit 7efb324

Please sign in to comment.