-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
appearanceInconsistencies between the expected appearance of components in Jetpack Compose vs. SwiftUIInconsistencies between the expected appearance of components in Jetpack Compose vs. SwiftUIbugSomething isn't workingSomething isn't workingcomposeLimitation of Jetpack Compose or issue with SwiftUI translationLimitation of Jetpack Compose or issue with SwiftUI translation
Description
In Android, when displaying a Button with the style of .borderedProminent, and supplying a Label, the icon displays as the Primary colour, which is a dark colour, while the text displays white. In iOS, the Icon matches the white colour of the Button. I am thinking that there is somewhere in SkipUI where the Color "primary" is accidentally being set instead of a system color that would be aware of contrast and light/dark mode settings.
Button(action: {
// redacted
}, label: {
Label("Arrive", systemImage: "person.badge.shield.checkmark.fill")
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 30, maxHeight: 30)
})
.buttonStyle(.borderedProminent)
.tint(.teal)
Android Screenshot
iOS Screenshot

Metadata
Metadata
Assignees
Labels
appearanceInconsistencies between the expected appearance of components in Jetpack Compose vs. SwiftUIInconsistencies between the expected appearance of components in Jetpack Compose vs. SwiftUIbugSomething isn't workingSomething isn't workingcomposeLimitation of Jetpack Compose or issue with SwiftUI translationLimitation of Jetpack Compose or issue with SwiftUI translation
Type
Projects
Status
Todo