Convert Contributors, Translators, Acknowledgements to macOS-native helpers

This commit is contained in:
Arkadiusz Fal
2026-04-21 02:41:15 +02:00
parent 07a1e0f81d
commit 7ff889c132
3 changed files with 14 additions and 12 deletions

View File

@@ -54,13 +54,11 @@ struct ContributorsView: View {
}
private var contributorsList: some View {
Form {
Section {
SettingsFormContainer {
SettingsFormSection(footer: "settings.contributors.section.footer") {
ForEach(contributors) { contributor in
contributorRow(contributor)
}
} footer: {
Text(String(localized: "settings.contributors.section.footer"))
}
}
}
@@ -112,7 +110,11 @@ struct ContributorsView: View {
Image(systemName: "arrow.up.right")
.foregroundStyle(.secondary)
}
.contentShape(Rectangle())
}
#if os(macOS)
.buttonStyle(.plain)
#endif
}
// MARK: - Data Loading