We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ab7c2f commit 8cfa1c3Copy full SHA for 8cfa1c3
WooCommerce/Classes/ViewRelated/Orders/ScanToPay/ScanToPayView.swift
@@ -3,6 +3,8 @@ import SwiftUI
3
struct ScanToPayView: View {
4
let viewModel: ScanToPayViewModel
5
let onSuccess: (() -> Void)
6
+ /// We keep this value to reset the screen brightness after increasing it for better QR readability. Only works on phsycal device.
7
+ ///
8
let screenBrightnessAtViewCreation = UIScreen.main.brightness
9
10
@Environment(\.dismiss) var dismiss
0 commit comments