@ -7,6 +7,7 @@ package org.mozilla.fenix.home.sessioncontrol.viewholders
import android.content.Context
import android.view.View
import android.widget.PopupWindow
import androidx.core.view.isInvisible
import androidx.core.view.isVisible
import androidx.recyclerview.widget.RecyclerView
import io.reactivex.Observer
@ -81,8 +82,8 @@ class TabHeaderViewHolder(
val headerTextResourceId =
if ( isPrivate ) R . string . tabs _header _private _title else R . string . tab _header _label
view . header _text . text = view . context . getString ( headerTextResourceId )
view . share _tabs _button . is Visible = isPrivate && hasTabs
view . close _tabs _button . is Visible = isPrivate && hasTabs
view . share _tabs _button . is Invisible = !is Private || ! hasTabs
view . close _tabs _button . is Invisible = !is Private || ! hasTabs
view . tabs _overflow _button . isVisible = !is Private && hasTabs
}