Skip to content

Commit

Permalink
Merge pull request #491 from tinkoff-mobile-tech/mr/EACQAPW-5657/fixes
Browse files Browse the repository at this point in the history
* [EACQAPW-5657] - 4) правки по мр-у
  • Loading branch information
ivanglushko authored Jul 26, 2023
2 parents 5cbde37 + 7be7f59 commit 798c9ef
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 798c9ef

Please sign in to comment.