Commit 638375ff authored by Jonathan Almeida's avatar Jonathan Almeida
Browse files

Closes #6143: Do not show Desktop mode if no selected session

parent daa3595a
......@@ -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