Commit 1e5bfb16 authored by MozLando's avatar MozLando
Browse files

Merge #6150



6150: Closes #6143: Do not show Desktop mode if no selected session r=psymoon a=jonalmeida
Co-authored-by: default avatarJonathan Almeida <jalmeida@mozilla.com>
parents 1963b844 638375ff
......@@ -261,6 +261,8 @@ open class DefaultComponents(private val applicationContext: Context) {
sessionManager.selectedSessionOrThrow.desktopMode
}) { checked ->
sessionUseCases.requestDesktopSite(checked)
}.apply {
visible = { sessionManager.selectedSession != null }
}
)
items.add(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment