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

Improve confusing footer modifiers #969

Merged
merged 3 commits into from
Dec 1, 2024

Conversation

keeshux
Copy link
Member

@keeshux keeshux commented Dec 1, 2024

There was duplication and a ugly #if os(macOS) with some footers explicitly rendered on macOS with .themeFooter() (now .themeSubtitle()).

Move this logic to the .themeSection() modifiers by adding a forcesFooter parameter. When true, a fake footer is added on macOS as the last row of a section.

- row -> rowWithSubtitle
- footer -> subtitle
Move macOS fake footer to modifier.
@keeshux keeshux self-assigned this Dec 1, 2024
@keeshux keeshux added the refactoring Improves software architecture label Dec 1, 2024
@keeshux keeshux added this to the 3.0.0 / 6. Freeze milestone Dec 1, 2024
@keeshux keeshux merged commit 14ce23f into master Dec 1, 2024
1 check passed
@keeshux keeshux deleted the refactoring/confusing-theme-modifiers branch December 1, 2024 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Improves software architecture
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant