From aa2af2e5b534c81e18e6bb6f735104fc32d5d830 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 2 Apr 2026 09:56:45 +0000 Subject: revert(ui): remove april fools executive mode --- src/lib/List/Manga/CleanMangaList.svelte | 25 ++++++++-------------- src/lib/List/Manga/MangaListTemplate.svelte | 33 +++++++++++------------------ 2 files changed, 21 insertions(+), 37 deletions(-) (limited to 'src/lib/List/Manga') diff --git a/src/lib/List/Manga/CleanMangaList.svelte b/src/lib/List/Manga/CleanMangaList.svelte index aab8be97..56de1df1 100644 --- a/src/lib/List/Manga/CleanMangaList.svelte +++ b/src/lib/List/Manga/CleanMangaList.svelte @@ -22,14 +22,12 @@ import settings from "$stores/settings"; import ListTitle from "../ListTitle.svelte"; import { onMount } from "svelte"; import root from "$lib/Utility/root"; -import { executiveCopy, executiveTitle } from "$lib/Utility/executiveMode"; import locale from "$stores/locale"; import Skeleton from "$lib/Loading/Skeleton.svelte"; import { browser } from "$app/environment"; import "../covers.css"; import CleanGrid from "../CleanGrid.svelte"; import CleanList from "../CleanList.svelte"; -import aprilFools from "$stores/aprilFools"; import stateBin from "$stores/stateBin"; import localforage from "localforage"; import MediaRoulette from "../MediaRoulette.svelte"; @@ -124,30 +122,26 @@ const increment = (manga: Media) => { ? totalEpisodeDueCount : filteredMedia.length} time={endTime / 1000} - title={executiveTitle( - $aprilFools, - due - ? $locale().lists.due.mangaAndLightNovels - : $locale().lists.completed.mangaAndLightNovels, - )} + title={due + ? $locale().lists.due.mangaAndLightNovels + : $locale().lists.completed.mangaAndLightNovels} hideTime={dummy} hideCount={dummy} > {#if !dummy} Refresh {#if $settings.displayMediaRoulette && filteredMedia.length > 0} {/if} {/if} @@ -183,9 +177,8 @@ const increment = (manga: Media) => { {/if}

- {$aprilFools ? "No deliverables to display." : "No manga to display."} - Force refresh

diff --git a/src/lib/List/Manga/MangaListTemplate.svelte b/src/lib/List/Manga/MangaListTemplate.svelte index daa3a27b..52649098 100644 --- a/src/lib/List/Manga/MangaListTemplate.svelte +++ b/src/lib/List/Manga/MangaListTemplate.svelte @@ -15,8 +15,6 @@ import { chapterCount, hydrateChapterCounts } from "$lib/Media/Manga/chapters"; import { options } from "$lib/Notification/options"; import { addNotification } from "$lib/Notification/store"; import privilegedUser from "$lib/Utility/privilegedUser"; -import { executiveCopy, executiveTitle } from "$lib/Utility/executiveMode"; -import aprilFools from "$stores/aprilFools"; import identity from "$stores/identity"; import lastPruneTimes from "$stores/lastPruneTimes"; import locale from "$stores/locale"; @@ -52,13 +50,6 @@ let keyCacher: ReturnType | undefined; let keyCacheMinutes = -1; let nativeEnhancementVersion = 0; let nativeEnhancementKey = ""; -const mangaListTitle = () => - executiveTitle( - $aprilFools, - due - ? $locale().lists.due.mangaAndLightNovels - : $locale().lists.completed.mangaAndLightNovels, - ); $: authorised = env.PUBLIC_ALWAYS_REFRESH_MANGA === "true" || privilegedUser($identity.id); @@ -375,26 +366,26 @@ const cleanCache = () => { {#if !dummy} Refresh {/if} {:else} @@ -424,26 +415,26 @@ const cleanCache = () => { {#if !dummy} Refresh {/if} {:else} @@ -456,19 +447,19 @@ const cleanCache = () => { {#if !dummy} Refresh {/if} @@ -493,7 +484,7 @@ const cleanCache = () => { -- cgit v1.2.3