Open pmusolino opened 4 months ago
Reported here: https://github.com/woocommerce/woocommerce-ios/pull/13329
In the class AddEditCoupon:
AddEditCoupon
UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
should be replaced with
@FocusState
While addressing this issue, also check if there is similar technical debt in other SwiftUI classes.
🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.
Reported here: https://github.com/woocommerce/woocommerce-ios/pull/13329
In the class
AddEditCoupon
:UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
should be replaced with
@FocusState
While addressing this issue, also check if there is similar technical debt in other SwiftUI classes.