From d4e2911450beb52446190ce991cbc5805e500049 Mon Sep 17 00:00:00 2001 From: Josh Perez <60019601+josh-signal@users.noreply.github.com> Date: Fri, 15 Oct 2021 14:11:59 -0400 Subject: [PATCH] Resize debug log, rename save button --- _locales/en/messages.json | 2 +- app/main.ts | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 9b6b6925e..1ab98801c 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -488,7 +488,7 @@ "description": "Shown as the text for the copy button on the debug log screen" }, "debugLogSave": { - "message": "Download", + "message": "Save", "description": "Shown as the text for the download button on the debug log screen" }, "debugLogLinkCopied": { diff --git a/app/main.ts b/app/main.ts index 5aab87b8f..a15c8c524 100644 --- a/app/main.ts +++ b/app/main.ts @@ -1125,10 +1125,9 @@ async function showDebugLogWindow() { const theme = settingsChannel ? await settingsChannel.getSettingFromMainWindow('themeSetting') : undefined; - const size = getMainWindow()?.getSize(); const options = { - width: size ? Math.max(size[0] - 100, MIN_WIDTH) : MIN_WIDTH, - height: size ? Math.max(size[1] - 100, MIN_HEIGHT) : MIN_HEIGHT, + width: 700, + height: 500, resizable: false, title: getLocale().i18n('debugLog'), autoHideMenuBar: true,