Skip to content

Commit

Permalink
For issue mozilla-mobile#12126 - Tab counter consumeFrom update
Browse files Browse the repository at this point in the history
Reverted the consumeFrom method inside HomeFragment for the tab counter
  • Loading branch information
Mihai Eduard Badea committed Jul 6, 2020
1 parent 388c144 commit 8a6f8bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ class HomeFragment : Fragment() {
requireActivity().window.clearFlags(FLAG_SECURE)
}

consumeFrom(requireComponents.core.store) {
view.consumeFrom(requireComponents.core.store, this) {
val tabCount = if (browsingModeManager.mode.isPrivate) {
it.privateTabs.size
} else {
Expand Down

0 comments on commit 8a6f8bc

Please sign in to comment.