mozilla-mobile / firefox-echo-show

Firefox for Amazon's Echo Show
Mozilla Public License 2.0
25 stars 12 forks source link

Closes #297: Set default overlay visible value to false #299

Closed dnarcese closed 5 years ago

dnarcese commented 5 years ago

On session restore, the isToolbarScrollEnabled value was not set correctly to true because the overlay was not visited first, and that is when the value changes. Setting isNavigationOverlayVisible default to false is the fix.

Pull Request checklist

mcomella commented 5 years ago

It looks like lint failed. Severin made partial progress in this PR: https://github.com/mozilla-mobile/firefox-echo-show/pull/291

I'll take a look at the errors and, assuming this PR doesn't change anything, I think I can just force-merge it.

mcomella commented 5 years ago

@dnarcese I noticed you didn't complete the checklist items. In particular, we have no UI tests on CI so can you make sure to run them locally?

codecov-io commented 5 years ago

Codecov Report

Merging #299 into master will increase coverage by 0.09%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #299      +/-   ##
============================================
+ Coverage     21.32%   21.41%   +0.09%     
  Complexity      125      125              
============================================
  Files            91       91              
  Lines          1876     1877       +1     
  Branches        293      293              
============================================
+ Hits            400      402       +2     
  Misses         1438     1438              
+ Partials         38       37       -1
Impacted Files Coverage Δ Complexity Δ
...rg/mozilla/focus/toolbar/BrowserAppBarViewModel.kt 100% <100%> (ø) 4 <0> (ø) :arrow_down:
...pp/src/main/java/org/mozilla/focus/ext/LiveData.kt 100% <0%> (+6.66%) 0% <0%> (ø) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 205104b...5115d71. Read the comment docs.