Drop button accent on Organizer rows
This commit is contained in:
parent
6aee88e69a
commit
7eb2b3bd0e
|
@ -290,6 +290,10 @@ extension View {
|
||||||
tint(themePrimaryBackgroundColor)
|
tint(themePrimaryBackgroundColor)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func themeTextButtonStyle() -> some View {
|
||||||
|
accentColor(.primary)
|
||||||
|
}
|
||||||
|
|
||||||
func themeLongTextStyle() -> some View {
|
func themeLongTextStyle() -> some View {
|
||||||
lineLimit(1)
|
lineLimit(1)
|
||||||
.truncationMode(.middle)
|
.truncationMode(.middle)
|
||||||
|
|
|
@ -101,7 +101,7 @@ extension OrganizerView {
|
||||||
header: header,
|
header: header,
|
||||||
isActive: profileManager.isActiveProfile(header.id)
|
isActive: profileManager.isActiveProfile(header.id)
|
||||||
)
|
)
|
||||||
}
|
}.themeTextButtonStyle()
|
||||||
}
|
}
|
||||||
|
|
||||||
private var hiddenProfileLink: some View {
|
private var hiddenProfileLink: some View {
|
||||||
|
|
Loading…
Reference in New Issue