fix: dark mode style + better empty password check

This commit is contained in:
Sean Yesmunt 2019-10-16 10:17:25 -04:00
parent c54619d069
commit e8ac31139a
4 changed files with 10 additions and 5 deletions

View file

@ -130,7 +130,7 @@
"husky": "^0.14.3",
"json-loader": "^0.5.4",
"lbry-format": "https://github.com/lbryio/lbry-format.git",
"lbry-redux": "lbryio/lbry-redux#b09e1699eb92fef8087986a0f35b3df3977af87f",
"lbry-redux": "lbryio/lbry-redux#9919a8150998822ca997cd23418f023d64d4a3da",
"lbryinc": "lbryio/lbryinc#fb2e73ab31c2b9f80a53f082843a01e3f213ca45",
"lint-staged": "^7.0.2",
"localforage": "^1.7.1",

View file

@ -53,8 +53,13 @@ textarea {
}
// @lbry/components specificityfixme
checkbox-element input[type='checkbox']:checked + label {
checkbox-element input[type='checkbox']:checked + label,
checkbox-element input[type='checkbox'] + label {
color: lighten($lbry-black, 20%);
[data-mode='dark'] & {
color: $lbry-gray-1;
}
}
fieldset-section {

View file

@ -9,7 +9,7 @@ export const setSavedPassword = (value, saveToDisk) => {
});
sessionPassword = value;
if (saveToDisk && value !== undefined) {
if (saveToDisk && value !== undefined && value !== null) {
ipcRenderer.send('set-password', value);
}
});

View file

@ -6870,9 +6870,9 @@ lazy-val@^1.0.3, lazy-val@^1.0.4:
yargs "^13.2.2"
zstd-codec "^0.1.1"
lbry-redux@lbryio/lbry-redux#b09e1699eb92fef8087986a0f35b3df3977af87f:
lbry-redux@lbryio/lbry-redux#9919a8150998822ca997cd23418f023d64d4a3da:
version "0.0.1"
resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/b09e1699eb92fef8087986a0f35b3df3977af87f"
resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/9919a8150998822ca997cd23418f023d64d4a3da"
dependencies:
proxy-polyfill "0.1.6"
reselect "^3.0.0"