From e8d23550a43f111150ecf696db2030c176c8f449 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 8 Dec 2023 11:28:45 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/9840 --- app/src/layout/topBar.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/layout/topBar.ts b/app/src/layout/topBar.ts index 3298e8aeb..c95b99fd3 100644 --- a/app/src/layout/topBar.ts +++ b/app/src/layout/topBar.ts @@ -20,6 +20,7 @@ import {needSubscribe} from "../util/needSubscribe"; import * as dayjs from "dayjs"; import {commandPanel} from "../plugin/commandPanel"; import {exportLayout} from "./util"; +import {showMessage} from "../dialog/message"; export const initBar = (app: App) => { const toolbarElement = document.getElementById("toolbar"); @@ -116,6 +117,7 @@ export const initBar = (app: App) => { event.stopPropagation(); break; } else if (targetId === "barExit") { + showMessage(window.siyuan.languages["_kernel"][95]); exportLayout({ reload: false, onlyData: false,