         shouldPresent = false
         updateLockIcon()
         updateUrlIcons()
+        shieldIcon.animateHidden(true, duration: UIConstants.layout.urlBarTransitionAnimationDuration)
         toolset.settingsButton.isEnabled = true
         delegate?.urlBarDidFocus(self)
 

        let duration = UIConstants.layout.urlBarTransitionAnimationDuration / 2

        pageActionsButton.animateHidden(!visible, duration: duration)
        shieldIcon.animateHidden(!visible, duration: duration)
        self.layoutIfNeeded()

        UIView.animate(withDuration: duration) {

        hideCancelConstraints.forEach { $0.activate() }

        if inBrowsingMode {
            shieldIcon.animateHidden(false, duration: UIConstants.layout.urlBarTransitionAnimationDuration)
            deleteButton.animateHidden(false, duration: UIConstants.layout.urlBarTransitionAnimationDuration)
        } else {
            deactivate()
