Skip to content

Commit e4a6009

Browse files
committed
Small fixes
1 parent 24bb0ae commit e4a6009

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,9 +1491,9 @@ ipcMain.on('restore-defaults', (event) => {
14911491
dialog.showMessageBox(dialogOpts).then(async (returnValue) => {
14921492
if (returnValue.response === 0) {
14931493
log.info('Stretchly: restoring default settings')
1494-
settings.store = Object.assign(defaultSettings, { isFirstRun: false })
1494+
settings.store = Object.assign(defaultSettings, { isFirstRun: false, __internal__: settings.get('__internal__') })
14951495
initialize(false)
1496-
event.sender.webContents.send('renderSettings', await settingsToSend())
1496+
event.sender.reload()
14971497
}
14981498
})
14991499
})

app/utils/statusMessages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class StatusMessages {
2424
if (this.timeLeft) {
2525
message += this.i18next.t('statusMessages.paused') + ' - ' +
2626
this.i18next.t('statusMessages.resuming') + ' ' +
27-
formatTimeIn(this.timeLeft, this.settings.get('language'))
27+
formatTimeIn(this.timeLeft, this.settings.get('language'), this.i18next, this.humanizeDuration)
2828
return message
2929
} else {
3030
message += this.i18next.t('statusMessages.paused') + ' ' +

0 commit comments

Comments
 (0)