Skip to content

Commit

Permalink
feat(mobile): introduce about dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Jan 4, 2025
1 parent 8748092 commit f7d3737
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/public/app/layouts/mobile_layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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())
}
}
2 changes: 1 addition & 1 deletion src/public/app/widgets/buttons/global_menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f7d3737

Please sign in to comment.