Skip to content

Commit be6657f

Browse files
timarvmiklos
authored andcommitted
Remove the Presenter Console menu item in mobile apps
It was removed already from the Notebookbar. Presenter console does not work in mobile apps, because a user cannot allow the "browser" to show pop ups. Signed-off-by: Andras Timar <[email protected]> Change-Id: I85673321d50d0ce84e2277ae4de402ee41d539de
1 parent aab984b commit be6657f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

browser/src/control/Control.Menubar.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,10 @@ class Menubar extends window.L.Control {
580580
{name: _('Fullscreen presentation'), id: 'fullscreen-presentation', type: 'action'},
581581
{name: _('Present current slide'), id: 'presentation-currentslide', type: 'action'},
582582
{name: _('Present in new window'), id: 'present-in-window', type: 'action'},
583-
{name: _('Presenter Console'), id: 'presentation-in-console', type: 'action'}]
583+
...(!window.ThisIsAMobileApp ? [
584+
{name: _('Presenter Console'), id: 'presentation-in-console', type: 'action'}
585+
] : [])
586+
]
584587
},
585588
{name: _UNO('.uno:ToolsMenu', 'presentation'), id: 'tools', type: 'menu', menu: [
586589
{uno: '.uno:SpellDialog'},

0 commit comments

Comments
 (0)