Merge pull request #3253 from vladyslav-iosdev/#3252

The Browser home icon should not disappear when coming back from address input #3252
pull/3258/head
Hwee-Boon Yar 3 years ago committed by GitHub
commit a8d6a4c98e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      AlphaWallet/Browser/Views/DappBrowserNavigationBar.swift

@ -168,7 +168,7 @@ final class DappBrowserNavigationBar: UINavigationBar {
//NOTE: remove spacing beetwen backButton and forwardButton buttons //NOTE: remove spacing beetwen backButton and forwardButton buttons
let backwardForwardButtonStackView = [backButton, forwardButton].asStackView(axis: .horizontal) let backwardForwardButtonStackView = [backButton, forwardButton].asStackView(axis: .horizontal)
viewsToShowWhenNotEditing.append(contentsOf: [spacer0, spacer1, backwardForwardButtonStackView, textField, spacer2, moreButton]) viewsToShowWhenNotEditing.append(contentsOf: [spacer0, spacer1, backwardForwardButtonStackView, textField, spacer2, homeButton, moreButton])
viewsToShowWhenEditing.append(contentsOf: [textField, cancelEditingButton]) viewsToShowWhenEditing.append(contentsOf: [textField, cancelEditingButton])
viewsToShowWhenBrowserOnly.append(contentsOf: [spacer0, backwardForwardButtonStackView, domainNameLabel, spacer1, closeButton, spacer2, homeButton, moreButton]) viewsToShowWhenBrowserOnly.append(contentsOf: [spacer0, backwardForwardButtonStackView, domainNameLabel, spacer1, closeButton, spacer2, homeButton, moreButton])

Loading…
Cancel
Save