mirror of https://github.com/keeweb/keeweb
commit
879ba17760
|
@ -5,12 +5,14 @@ const ThemeWatcher = {
|
|||
|
||||
init() {
|
||||
const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)');
|
||||
mediaQuery.addEventListener('change', (e) => {
|
||||
const dark = e.matches;
|
||||
this.dark = dark;
|
||||
Events.emit('dark-mode-changed', { dark });
|
||||
});
|
||||
this.dark = mediaQuery.matches;
|
||||
if (mediaQuery && mediaQuery.addEventListener) {
|
||||
mediaQuery.addEventListener('change', (e) => {
|
||||
const dark = e.matches;
|
||||
this.dark = dark;
|
||||
Events.emit('dark-mode-changed', { dark });
|
||||
});
|
||||
}
|
||||
this.dark = !!mediaQuery.matches;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<h3>Desktop modules</h3>
|
||||
<ul>
|
||||
<li><a href="https://github.com/ranisalt/node-argon2" target="_blank">node-argon2</a><span class="muted-color">, node.js bindings for Argon2 hashing algorithm, © 2015 Ranieri Althoff</span></li>
|
||||
<li><a href="https://github.com/MadLittleMods/node-usb-detectoin" target="_blank">node-usb-detection</a><span class="muted-color">, list USB devices in system and detect changes on them, © 2013 Kaba AG</span></li>
|
||||
<li><a href="https://github.com/MadLittleMods/node-usb-detection" target="_blank">node-usb-detection</a><span class="muted-color">, list USB devices in system and detect changes on them, © 2013 Kaba AG</span></li>
|
||||
<li><a href="https://github.com/atom/node-keytar" target="_blank">node-keytar</a><span class="muted-color">, native password node module, © 2013 GitHub Inc.</span></li>
|
||||
<li><a href="https://github.com/antelle/node-yubikey-chalresp" target="_blank">node-yubikey-chalresp</a><span class="muted-color">, YubiKey challenge-response API for node.js, © 2020 Antelle</span></li>
|
||||
<li><a href="https://github.com/antelle/node-secure-enclave" target="_blank">node-secure-enclave</a><span class="muted-color">, Secure Enclave module for node.js and Electron, © 2020 Antelle</span></li>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "KeeWeb",
|
||||
"version": "1.17.2",
|
||||
"version": "1.17.3",
|
||||
"description": "Free cross-platform password manager compatible with KeePass",
|
||||
"main": "main.js",
|
||||
"homepage": "https://keeweb.info",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "keeweb",
|
||||
"version": "1.17.2",
|
||||
"version": "1.17.3",
|
||||
"description": "Free cross-platform password manager compatible with KeePass",
|
||||
"main": "Gruntfile.js",
|
||||
"private": true,
|
||||
|
|
|
@ -3,6 +3,9 @@ Release notes
|
|||
##### v1.18.0 (TBD)
|
||||
`-` legacy auto-type removed
|
||||
|
||||
##### v1.17.3 (2021-03-14)
|
||||
`-` fix #1747: white screen in old Safari
|
||||
|
||||
##### v1.17.2 (2021-03-13)
|
||||
`-` fixed crashes in the USB module on Windows
|
||||
`-` fix #1745: deleting selected text in auto-type selector
|
||||
|
|
Loading…
Reference in New Issue