mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
[fenix] A-C 71.0.20210118134928: Fix breaking API in TabCounterToolbarButton
This commit is contained in:
parent
4e676267b7
commit
e76960b389
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user