From c26bf4f6fdb046c29eb99052bee1ec9b79822f80 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Sat, 24 Apr 2021 00:21:25 +0530 Subject: [PATCH] Fix type mismatch warning. --- src/Constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Constants.js b/src/Constants.js index 806ea65d..91ec55ca 100644 --- a/src/Constants.js +++ b/src/Constants.js @@ -1,4 +1,4 @@ export default { BASE_URL: localStorage.getItem("instance") || "https://pipedapi.kavin.rocks", - AUTO_PLAY: localStorage.getItem("autoplay") || false, + AUTO_PLAY: localStorage.getItem("autoplay") === "true", };