From 7057633906c8d656762ccdb903baf69e32ac47ee Mon Sep 17 00:00:00 2001 From: bob1520 <80553357+hockerschwan@users.noreply.github.com> Date: Sun, 19 Jun 2022 18:39:29 +0000 Subject: [PATCH] loop button color (#2321) --- src/renderer/components/ft-video-player/ft-video-player.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/ft-video-player/ft-video-player.js b/src/renderer/components/ft-video-player/ft-video-player.js index fcdab490..2152a343 100644 --- a/src/renderer/components/ft-video-player/ft-video-player.js +++ b/src/renderer/components/ft-video-player/ft-video-player.js @@ -1167,8 +1167,8 @@ export default Vue.extend({ toggleVideoLoop: async function () { if (!this.player.loop()) { - const currentTheme = localStorage.getItem('mainColor') - const colorNames = this.$store.state.utils.colorClasses + const currentTheme = this.$store.state.settings.mainColor + const colorNames = this.$store.state.utils.colorNames const colorValues = this.$store.state.utils.colorValues const nameIndex = colorNames.findIndex((color) => {