Skip to content

Commit

Permalink
* [EACQAPW-5657] - 4) правки по мр-у
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanglushko committed Jul 26, 2023
1 parent 5cbde37 commit 7be7f59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ extension MainFormPresenter {
return
}

if dataState.hasCards == false {
if !dataState.hasCards {
payButtonPresenter.set(enabled: true)
} else {
let isCvcValid = savedCardPresenter.isValid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ extension EmailViewPresenter {
}

private func viewSetTextFieldHeaderState() {
guard isFieldDidBeginEditing || currentEmail.isEmpty == false else {
guard isFieldDidBeginEditing || !currentEmail.isEmpty else {
view?.setTextFieldHeaderNormal()
return
}
Expand Down

0 comments on commit 7be7f59

Please sign in to comment.