Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(mobile): introduce about dialog
Elian Doranf7d3737cba6f
diff --git a/src/public/app/layouts/mobile_layout.js b/src/public/app/layouts/mobile_layout.jsindex a09d1dd8dd..970f12e080 100644--- a/src/public/app/layouts/mobile_layout.js+++ b/src/public/app/layouts/mobile_layout.js@@ -25,6 +25,7 @@ import SharedInfoWidget from "../widgets/shared_info.js";import PromotedAttributesWidget from "../widgets/ribbon_widgets/promoted_attributes.js";import ClassicEditorToolbar from "../widgets/ribbon_widgets/classic_editor_toolbar.js";import SidebarContainer from "../widgets/mobile_widgets/sidebar_container.js";+import AboutDialog from "../widgets/dialogs/about.js";const MOBILE_CSS = `<style>@@ -185,6 +186,7 @@ export default class MobileLayout {.css("height", "53px").child(new LauncherContainer(true)).child(new GlobalMenuWidget(true))- .id("launcher-pane"));+ .id("launcher-pane"))+ .child(new AboutDialog())}}diff --git a/src/public/app/widgets/buttons/global_menu.ts b/src/public/app/widgets/buttons/global_menu.tsindex 70ad56d2fc..15c49a31f2 100644--- a/src/public/app/widgets/buttons/global_menu.ts+++ b/src/public/app/widgets/buttons/global_menu.ts@@ -89,7 +89,7 @@ const TPL = `margin-right: 5px;}- body.mobile .show-help-button, body.mobile .show-about-dialog-button {+ body.mobile .show-help-button {/* hidden because these dialogs are not available for mobile */display: none;}