mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Scope dark mode change only to the presenting sheet (#6144)
* Scope dark mode change only to the presenting sheet, instead of the whole window * Apply review suggestions to the presentation colour scheme modifier API: - Take a `ColorScheme?` at the SwiftUI level instead of a `UIUserInterfaceStyle` and map it once inside the representable (`nil` means no override). - Rename to `presentationColorScheme` and the file to match. - Restore the `preferredColorScheme` property on the media preview details and redact confirmation views, and the `nil` at the media timeline call site, so no UIKit types leak into the views. Cleanup: - Walk the responder chain with `sequence(first:next:)` instead of a while loop. * Re-record the media upload preview iPad snapshots The Cancel button no longer has an explicit tint, so its label colour changed very slightly from `textActionPrimary` to the default. Only the iPad references include the toolbar, which is why the iPhone ones were unaffected.
This commit is contained in:
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:228dfc2372e109619f2627527c5124a76401ce24300112837be4b9e5d2f42964
|
||||
size 86282
|
||||
oid sha256:f327e6dfe4c81dfaa2a654b89c973293e61bc16147595ab031eb6676f8313f3e
|
||||
size 86285
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fd75072b7457c5bbbaab3876368794273590c3e83ea0ea7cc9020f57c41fdf9a
|
||||
size 87335
|
||||
oid sha256:7397c1698bd8524eb1cdf99667fc1c0916b58d4fd59a752c15f6c71e89a30ae3
|
||||
size 87348
|
||||
|
||||
Reference in New Issue
Block a user