Closes #4240 - Exclude custom tabs from displayed tab count
parent
8ff77b90f3
commit
0703fdc91f
|
@ -148,7 +148,7 @@ class DeleteBrowsingDataFragment : Fragment() {
|
||||||
|
|
||||||
private fun updateTabCount() {
|
private fun updateTabCount() {
|
||||||
view?.open_tabs_item?.apply {
|
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)
|
subtitleView.text = resources.getString(R.string.preferences_delete_browsing_data_tabs_subtitle, openTabs)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue