Skip to content

Commit

Permalink
Implement listing and deleting IPAs in IPA cache
Browse files Browse the repository at this point in the history
  • Loading branch information
iSecNew10 committed Mar 26, 2023
1 parent 20376bc commit 3b07ef5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion appdb/Tabs/Settings/IPA Cache/IPACache.swift
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,11 @@ class IPACache: LoadingTableView {
// MARK: - Section header view

override func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
if section == 0 {
return nil
}
let view = UpdatesSectionHeader(showsButton: section == 0)
view.configure(with: section == 0 ? status?.updatedAt ?? "" : "IPA cache status for current device".localized())
view.configure(with: "IPA cache status for current device".localized())
view.helpButton.addTarget(self, action: #selector(self.showHelp), for: .touchUpInside)
return view
}
Expand Down

0 comments on commit 3b07ef5

Please sign in to comment.