From ee6cbf922e16bbc38af30382e593d6f6fc1437c0 Mon Sep 17 00:00:00 2001 From: cutls Date: Tue, 7 Apr 2020 15:06:29 +0900 Subject: [PATCH] Fix loader --- app/js/ui/spotify.js | 6 ++++++ app/yarn.lock | 10 +++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/app/js/ui/spotify.js b/app/js/ui/spotify.js index ba88850b..8920ceb5 100644 --- a/app/js/ui/spotify.js +++ b/app/js/ui/spotify.js @@ -42,6 +42,12 @@ function checkSpotify() { } else { $("#awk_no").prop("checked", true); } + var flag2 = localStorage.getItem("complete-artwork"); + if (flag2) { + $("#amw_yes").prop("checked", true); + } else { + $("#amw_no").prop("checked", true); + } } function spotifyFlagSave() { var awk = $("[name=awk]:checked").val(); diff --git a/app/yarn.lock b/app/yarn.lock index 250615d0..b32fd52f 100644 --- a/app/yarn.lock +++ b/app/yarn.lock @@ -2788,18 +2788,26 @@ sumchecker@^3.0.0, sumchecker@^3.0.1: integrity sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg== dependencies: debug "^4.1.0" + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + supports-color@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1" integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g== dependencies: has-flag "^4.0.0" + sweetalert2@^9.10.9: version "9.10.9" resolved "https://registry.yarnpkg.com/sweetalert2/-/sweetalert2-9.10.9.tgz#a727178ea89a0976d3d1bf6ee9ea94d25cef59d1" integrity sha512-EvCwcS9omZHhxp8XXiWwPMGq2ywGcU0VXeBr3DCibUMmfRkh8f8SxBWFSKMtw57HnK0tKYDhyhQV/vFERtRciQ== - system-font-families@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/system-font-families/-/system-font-families-0.4.1.tgz#ea35b06989629603010c0ed02d4ba264bfa3e374"