Skip to content

Commit

Permalink
style: code style
Browse files Browse the repository at this point in the history
  • Loading branch information
chhoumann committed Jul 31, 2024
1 parent 14378b2 commit 2973586
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/ui/PodcastView/EpisodePlayer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import EpisodeList from "./EpisodeList.svelte";
import Progressbar from "../common/Progressbar.svelte";
import spawnEpisodeContextMenu from "./spawnEpisodeContextMenu";
import { Episode } from "src/types/Episode";
import type { Episode } from "src/types/Episode";
import { ViewState } from "src/types/ViewState";
import { createMediaUrlObjectFromFilePath } from "src/utility/createMediaUrlObjectFromFilePath";
import Image from "../common/Image.svelte";
Expand All @@ -38,8 +38,8 @@
const offBinding = new CircumentForcedTwoWayBinding();
//#endregion
let isHoveringArtwork: boolean = false;
let isLoading: boolean = true;
let isHoveringArtwork = false;
let isLoading = true;
let showQueue = false;
function togglePlayback() {
Expand All @@ -57,12 +57,11 @@
function removeEpisodeFromPlaylists() {
playlists.update((lists) => {
Object.values(lists).forEach((playlist) => {
for (const playlist of Object.values(lists)) {
playlist.episodes = playlist.episodes.filter(
(ep) => ep.title !== $currentEpisode.title,
(ep) => ep.title !== $currentEpisode.title
);
});
}
return lists;
});
Expand Down

0 comments on commit 2973586

Please sign in to comment.