mirror of https://github.com/keeweb/keeweb.git
fix titlebar color on macOS dark theme
This commit is contained in:
parent
8a258998dd
commit
e812218919
|
@ -66,6 +66,7 @@ app.on('window-all-closed', () => {
|
|||
app.on('ready', () => {
|
||||
appReady = true;
|
||||
setAppOptions();
|
||||
setSystemAppearance();
|
||||
createMainWindow();
|
||||
setGlobalShortcuts();
|
||||
subscribePowerEvents();
|
||||
|
@ -147,6 +148,14 @@ function readAppSettings() {
|
|||
}
|
||||
}
|
||||
|
||||
function setSystemAppearance() {
|
||||
if (process.platform === 'darwin') {
|
||||
if (electron.systemPreferences.isDarkMode()) {
|
||||
electron.systemPreferences.setAppLevelAppearance('dark');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function createMainWindow() {
|
||||
const appSettings = readAppSettings();
|
||||
const windowOptions = {
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
Release notes
|
||||
-------------
|
||||
##### v1.9.3 (2019-08-25)
|
||||
##### v1.10 (TBD)
|
||||
`+` config option to disable xml export (canExportXml)
|
||||
`+` xml files can be now opened as regular files
|
||||
`-` fix #1154: relative Destination header in WebDAV MOVE
|
||||
`-` fix #1129: webdav storage error on Unicode filenames
|
||||
|
||||
##### v1.9.3 (TBD)
|
||||
`-` fixed group settings not being displayed
|
||||
|
||||
##### v1.9.2 (2019-08-22)
|
||||
|
|
Loading…
Reference in New Issue