From 6727daabce36f99d39cfa559a0f3bd8e1e4e3f10 Mon Sep 17 00:00:00 2001 From: nin0dev Date: Mon, 23 Dec 2024 20:07:07 -0500 Subject: [PATCH] SpotifyControls: add setting to restart playing song if playtime >3s --- src/plugins/spotifyControls/PlayerComponent.tsx | 5 ++++- src/plugins/spotifyControls/index.tsx | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/plugins/spotifyControls/PlayerComponent.tsx b/src/plugins/spotifyControls/PlayerComponent.tsx index 41e09c1608..d708c279fe 100644 --- a/src/plugins/spotifyControls/PlayerComponent.tsx +++ b/src/plugins/spotifyControls/PlayerComponent.tsx @@ -18,6 +18,7 @@ import "./spotifyStyles.css"; +import { Settings } from "@api/Settings"; import { Flex } from "@components/Flex"; import { ImageIcon, LinkIcon, OpenExternalIcon } from "@components/Icons"; import { debounce } from "@shared/debounce"; @@ -130,7 +131,9 @@ function Controls() { > -