Commit d3dcf690 authored by Jonathan Almeida's avatar Jonathan Almeida Committed by Jonathan Almeida
Browse files

A-C 71.0.20210118134928: Fix breaking API in TabCounterToolbarButton

parent fb64c7c0
......@@ -171,8 +171,7 @@ class DefaultToolbarIntegration(
interactor.onTabCounterClicked()
},
store = store,
menu = tabCounterMenu,
privateColor = ContextCompat.getColor(context, R.color.primary_text_private_theme)
menu = tabCounterMenu
)
val tabCount = if (isPrivate) {
......
......@@ -1010,7 +1010,6 @@ class HomeFragment : Fragment() {
// https://github.com/mozilla-mobile/fenix/issues/16792
private fun updateTabCounter(browserState: BrowserState) {
val tabCount = if (browsingModeManager.mode.isPrivate) {
view?.tab_button?.setColor(ContextCompat.getColor(requireContext(), R.color.primary_text_private_theme))
browserState.privateTabs.size
} else {
browserState.normalTabs.size
......
......@@ -107,6 +107,8 @@
<item name="bottomBarBackgroundTop">@drawable/home_bottom_bar_background_top</item>
<item name="privateBrowsingButtonBackground">@android:color/transparent</item>
<item name="privateBrowsingButtonAccent">@color/primary_text_normal_theme</item>
<item name="tabCounterTintColor">?primaryText</item>
</style>
<style name="NormalTheme" parent="NormalThemeBase" />
......
......@@ -3,5 +3,5 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "71.0.20210117143132"
const val VERSION = "71.0.20210118134928"
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment