Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Fix #1983: Always add constraints when showing reader mode bar. #1991

Merged
merged 1 commit into from
Nov 20, 2019

Conversation

iccub
Copy link
Contributor

@iccub iccub commented Nov 20, 2019

Summary of Changes

Regression caused by #1736

This pull request fixes issue #1983

Submitter Checklist:

  • Unit Tests are updated to cover new or changed functionality
  • User-facing strings use NSLocalizableString()

Test Plan:

Tap on reader mode, then on address bar again. Verify the address bar is showing

Screenshots:

Reviewer Checklist:

  • Issues include necessary QA labels:
    • QA/(Yes|No)
    • release-notes/(include|exclude)
    • bug / enhancement
  • Necessary security reviews have taken place.
  • Adequate unit test coverage exists to prevent regressions.
  • Adequate test plan exists for QA to validate (if applicable).
  • Issue is assigned to a milestone (should happen at merge time).

@@ -2687,6 +2682,12 @@ extension BrowserViewController {
readerModeBar.delegate = self
view.insertSubview(readerModeBar, belowSubview: header)
self.readerModeBar = readerModeBar

readerModeBar.snp.makeConstraints { make in
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: It's not actually in viewDidLayoutSubviews Github is showing it weird..

@iccub iccub merged commit fb7f96b into development Nov 20, 2019
@iccub iccub deleted the bugfix/1983 branch November 20, 2019 16:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants