Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Total track statistic in folder footer #3944

Merged
merged 4 commits into from
Aug 27, 2024

Conversation

DmitrySvetlichny
Copy link
Contributor

No description provided.

@DmitrySvetlichny DmitrySvetlichny linked an issue Aug 22, 2024 that may be closed by this pull request
6 tasks
@@ -532,6 +534,59 @@ class TracksViewController: OACompoundViewController, UITableViewDelegate, UITab
}
}

private func setupTableFooter() {
if !currentFolder.tracks.isEmpty && !isSearchActive && !tableView.isEditing {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

guard

@@ -532,6 +534,59 @@ class TracksViewController: OACompoundViewController, UITableViewDelegate, UITab
}
}

private func setupTableFooter() {
if !currentFolder.tracks.isEmpty && !isSearchActive && !tableView.isEditing {
if let footer = OAUtilities.setupTableHeaderView(withText: getTotalTracksStatistics(), font: UIFont.preferredFont(forTextStyle: .footnote), textColor: UIColor.textColorSecondary, isBigTitle: false, parentViewWidth: view.frame.width) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove UIColor's prefix

@alex-osm alex-osm merged commit 857d6c5 into master Aug 27, 2024
@alex-osm alex-osm deleted the total_track_statistic_in_folder_footer branch August 27, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Total track statistic in folder footer
3 participants