2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4240 - Exclude custom tabs from displayed tab count

This commit is contained in:
ekager 2019-07-30 09:10:00 -07:00 committed by Emily Kager
parent 86909b315d
commit 8feadabb3b

View File

@ -148,7 +148,7 @@ class DeleteBrowsingDataFragment : Fragment() {
private fun updateTabCount() {
view?.open_tabs_item?.apply {
val openTabs = requireComponents.core.sessionManager.size
val openTabs = requireComponents.core.sessionManager.sessions.size
subtitleView.text = resources.getString(R.string.preferences_delete_browsing_data_tabs_subtitle, openTabs)
}
}