Skip to content

Commit

Permalink
Resize debug log, rename save button
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Perez <60019601+josh-signal@users.noreply.github.com>
  • Loading branch information
automated-signal and josh-signal committed Oct 15, 2021
1 parent 0e14467 commit 5cf9bba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _locales/en/messages.json
Expand Up @@ -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": {
Expand Down
5 changes: 2 additions & 3 deletions app/main.ts
Expand Up @@ -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,
Expand Down

0 comments on commit 5cf9bba

Please sign in to comment.