From 532fc303a16905e3edfadbc4f49de768e566facc Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 9 Sep 2023 22:09:49 -0700
Subject: refactor(SettingToggle): breaker

---
 src/lib/SettingToggle.svelte | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

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

diff --git a/src/lib/SettingToggle.svelte b/src/lib/SettingToggle.svelte
index fffb854f..bc76f72e 100644
--- a/src/lib/SettingToggle.svelte
+++ b/src/lib/SettingToggle.svelte
@@ -4,7 +4,7 @@
 	export let setting: keyof Settings;
 	export let on = '';
 	export let off = '';
-	export let lineBreak = true;
+	export let sectionBreak = false;
 </script>
 
 <a
@@ -14,6 +14,8 @@
 	>{$settings[setting] ? on : off} <slot /></a
 >
 
-{#if lineBreak}
-	<br />
+<br />
+
+{#if sectionBreak}
+	<p />
 {/if}
-- 
cgit v1.2.3

