Skip to content

Commit

Permalink
Change method and property access to private
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioEstevao committed Nov 18, 2024
1 parent 6fe30bf commit 468b17b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions podcasts/DownloadsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class DownloadsViewController: PCViewController {
removeAllCustomObservers()
}

func showManageDownloadsBanner() {
private func showManageDownloadsBanner() {
guard FeatureFlag.manageDownloadedEpisodes.enabled,
ManageDownloadsBannerModel.shouldShowBanner
else {
Expand All @@ -150,7 +150,7 @@ class DownloadsViewController: PCViewController {
downloadsTable.tableHeaderView = bannerView
}

lazy var bannerView: UIView = {
private lazy var bannerView: UIView = {
let banner = ManageDownloadsBannerView(dataModel: ManageDownloadsBannerModel(initialSize: "", onManageTap: { [weak self] in
Analytics.track(.freeUpSpaceManageDownloadsTapped, properties: ["source": "downloads"])
self?.navigationController?.pushViewController(DownloadedFilesViewController(), animated: true)
Expand Down

0 comments on commit 468b17b

Please sign in to comment.