loleaflet/src/control/Control.Menubar.js | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 3cbaf15b70148e8fb99b7f0377e1c8c1329a25cc Author: Michael Meeks <michael.me...@collabora.com> AuthorDate: Tue Jan 7 17:04:46 2020 +0000 Commit: Michael Meeks <michael.me...@collabora.com> CommitDate: Tue Jan 7 19:34:17 2020 +0100 android: disable FullScreen button for mobile apps. By implementing mobileapp: false in the panel builder. Change-Id: Id518fb4b02598511403eac4cef53e94317042fd4 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86370 Reviewed-by: Michael Meeks <michael.me...@collabora.com> Tested-by: Michael Meeks <michael.me...@collabora.com> diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js index a29412c51..063e43988 100644 --- a/loleaflet/src/control/Control.Menubar.js +++ b/loleaflet/src/control/Control.Menubar.js @@ -1492,6 +1492,8 @@ L.Control.Menubar = L.Control.extend({ } else { if (item.mobileapp == true && !window.ThisIsAMobileApp) return undefined; + if (item.mobileapp === false && window.ThisIsAMobileApp) + return undefined; if (!item.menu) { itemType = 'menuitem'; } else { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits