mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
Revert #2533: Removes feature flag for tab collections
This commit is contained in:
parent
3619f1417d
commit
ec1a0e6c34
@ -12,7 +12,6 @@ import kotlinx.android.synthetic.main.tab_header.view.*
|
|||||||
import mozilla.components.browser.menu.BrowserMenu
|
import mozilla.components.browser.menu.BrowserMenu
|
||||||
import mozilla.components.browser.menu.BrowserMenuBuilder
|
import mozilla.components.browser.menu.BrowserMenuBuilder
|
||||||
import mozilla.components.browser.menu.item.SimpleBrowserMenuItem
|
import mozilla.components.browser.menu.item.SimpleBrowserMenuItem
|
||||||
import org.mozilla.fenix.BuildConfig
|
|
||||||
import org.mozilla.fenix.R
|
import org.mozilla.fenix.R
|
||||||
import org.mozilla.fenix.home.sessioncontrol.SessionControlAction
|
import org.mozilla.fenix.home.sessioncontrol.SessionControlAction
|
||||||
import org.mozilla.fenix.home.sessioncontrol.TabAction
|
import org.mozilla.fenix.home.sessioncontrol.TabAction
|
||||||
@ -94,7 +93,7 @@ class TabHeaderViewHolder(
|
|||||||
context.getString(R.string.tabs_menu_save_to_collection)
|
context.getString(R.string.tabs_menu_save_to_collection)
|
||||||
) {
|
) {
|
||||||
onItemTapped.invoke(Item.SaveToCollection)
|
onItemTapped.invoke(Item.SaveToCollection)
|
||||||
}.apply { visible = { !isPrivate && BuildConfig.COLLECTIONS_ENABLED } }
|
}.apply { visible = { !isPrivate } }
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user