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:
parent
86909b315d
commit
8feadabb3b
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user