File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,13 +19,14 @@ import SwiftUI
1919
2020struct ImportPrivateKeySheet : View {
2121 @Environment ( \. presentationMode) private var presentationMode
22+ @Environment ( \. colorScheme) private var colorScheme
2223 let onScanPrivateKey : ( ) -> Void
2324
2425 var body : some View {
2526 VStack ( spacing: 0 ) {
2627 // Grabber
2728 Capsule ( )
28- . fill ( Color ( red : 0.83 , green : 0.83 , blue : 0.85 ) )
29+ . fill ( colorScheme == . dark ? Color . whiteAlpha20 : Color . gray300Alpha50 )
2930 . frame ( width: 36 , height: 5 )
3031 . padding ( . top, 6 )
3132 . padding ( . bottom, 6 )
@@ -37,7 +38,7 @@ struct ImportPrivateKeySheet: View {
3738 Button ( action: {
3839 presentationMode. wrappedValue. dismiss ( )
3940 } ) {
40- Image ( " icon-close-sheet " )
41+ Image ( colorScheme == . dark ? " icon-close-sheet-white " : " icon-close-sheet " )
4142 . resizable ( )
4243 . aspectRatio ( contentMode: . fit)
4344 . frame ( width: 9 , height: 9 )
You can’t perform that action at this time.
0 commit comments