From 5fde870b831bce78dcd3f280baf59ff4907053a1 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 9 Sep 2023 22:11:29 -0700
Subject: refactor(settings): move toggle

---
 src/lib/SettingToggle.svelte | 21 ---------------------
 1 file changed, 21 deletions(-)
 delete mode 100644 src/lib/SettingToggle.svelte

(limited to 'src/lib/SettingToggle.svelte')

diff --git a/src/lib/SettingToggle.svelte b/src/lib/SettingToggle.svelte
deleted file mode 100644
index bc76f72e..00000000
--- a/src/lib/SettingToggle.svelte
+++ /dev/null
@@ -1,21 +0,0 @@
-<script lang="ts">
-	import settings, { type Settings } from '../stores/settings';
-
-	export let setting: keyof Settings;
-	export let on = '';
-	export let off = '';
-	export let sectionBreak = false;
-</script>
-
-<a
-	href={'#'}
-	on:click={() =>
-		$settings[setting] ? settings.setKey(setting, false) : settings.setKey(setting, true)}
-	>{$settings[setting] ? on : off} <slot /></a
->
-
-<br />
-
-{#if sectionBreak}
-	<p />
-{/if}
-- 
cgit v1.2.3

