Skip to content

Commit f2f0512

Browse files
committed
Adjust pattern opacity on light mode
1 parent 2bc9021 commit f2f0512

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ios/Cove/Flows/SelectedWalletFlow/TransactionDetails/TransactionDetailsView.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
import SwiftUI
99

1010
struct TransactionDetailsView: View {
11+
@Environment(\.colorScheme) private var colorScheme
1112
@Environment(AppManager.self) private var app
1213
@Environment(\.openURL) private var openURL
14+
1315
private let screenWidth = UIScreen.main.bounds.width
1416
private let screenHeight = UIScreen.main.bounds.height
1517

@@ -268,6 +270,7 @@ struct TransactionDetailsView: View {
268270
.aspectRatio(contentMode: .fill)
269271
.frame(maxWidth: .infinity)
270272
.ignoresSafeArea(edges: .top)
273+
.opacity(colorScheme == .light ? 0.55 : 1)
271274
)
272275
}
273276
}

0 commit comments

Comments
 (0)