There is a walk around. Detect the colorScheme in side a View:
struct LiveActivity: View {
@Environment(\.colorScheme) var colorScheme
var body: some View {
someview {}
.backgroud(colorScheme == .light ? Color.white.opacity(0.43) : Color.black.opacity(0.43)
.activityBackgroundTint(Color.black.opacity(0))
}
}
and then call the view inside your Live Activity, it will automatically update based on color mode of your device
Topic:
App & System Services
SubTopic:
Notifications
Tags: