Fix tint colour on alerts and dialogs. (#1370)
This commit is contained in:
@@ -34,10 +34,14 @@ struct Application: App {
|
||||
var body: some Scene {
|
||||
WindowGroup {
|
||||
appCoordinator.toPresentable()
|
||||
.statusBarHidden(shouldHideStatusBar)
|
||||
.introspect(.window, on: .iOS(.v16)) { window in
|
||||
// Workaround for SwiftUI not consistently applying the tint colour to Alerts/Confirmation Dialogs.
|
||||
window.tintColor = UIColor(Color.compound.textActionPrimary)
|
||||
}
|
||||
.task {
|
||||
appCoordinator.start()
|
||||
}
|
||||
.statusBarHidden(shouldHideStatusBar)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:777e8f3870c413d3eddd2695f3029b43d2515f7f2b35f9916a9912f14c9562ed
|
||||
size 195001
|
||||
oid sha256:5e4394574235af7137862a98878b1b836b4957f2a361b0199da03605f0f5351c
|
||||
size 195006
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5a8f4ee78328eb4490aa097ed3e88d699878f16ef14aa89c25ff298027b19ec4
|
||||
size 378302
|
||||
oid sha256:2da22017b81a6800f23f8d8e072710158bea64e3855d629c2ebd16cf949fcdc8
|
||||
size 378366
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aef3ced77ed37b3df495a9d384732dad8802970833d1b7d9d890cfbe38dd220a
|
||||
size 249707
|
||||
oid sha256:f00e665304366cb6f00f94697a23c108084ff81fa6925307ff5aab477e0946f7
|
||||
size 249842
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c9f0d2eb756d5ec79e3cfe49fc25add7092a8e8b6365d7fe23566e564e500abc
|
||||
size 555624
|
||||
oid sha256:183fa5a16da7bfb80dd348cb6dd9da922b33fa153193a2f583396d842d67cd04
|
||||
size 555951
|
||||
|
||||
Reference in New Issue
Block a user