Dark mode adding Background Swiftui

44 views Asked by At

I am trying solving problem with SwiftUI and dark mode.

I have this code for navigation button.

NavigationLink {
    AppInfo()
} label: {
    ZStack {
        Image("info")
             .resizable()
             .frame(width: 36, height: 36)
             .tint(.primaryColor)
    }
    .background(Color.secondaryTextColor)
    .cornerRadius(36)
    .shadow(radius: 4)
}
.position(x: 50, y: frame.size.height-50)

In my simulator and device is rendered correctly.

enter image description here

But on our customer it's added some weird background.

enter image description here

Do you have some idea, what is making it this way?

0

There are 0 answers