Drop button accent on Organizer rows

This commit is contained in:
Davide De Rosa 2022-04-23 11:27:17 +02:00
parent 6aee88e69a
commit 7eb2b3bd0e
2 changed files with 5 additions and 1 deletions

View File

@ -290,6 +290,10 @@ extension View {
tint(themePrimaryBackgroundColor)
}
func themeTextButtonStyle() -> some View {
accentColor(.primary)
}
func themeLongTextStyle() -> some View {
lineLimit(1)
.truncationMode(.middle)

View File

@ -101,7 +101,7 @@ extension OrganizerView {
header: header,
isActive: profileManager.isActiveProfile(header.id)
)
}
}.themeTextButtonStyle()
}
private var hiddenProfileLink: some View {