From 600e8a843cf9209330f2bacd40a2bfdb68471d77 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 18 Nov 2023 23:46:08 -0800
Subject: feat(upcoming): option to display planning

---
 src/lib/Settings/SettingCheckboxToggle.svelte | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/lib/Settings/SettingCheckboxToggle.svelte')

diff --git a/src/lib/Settings/SettingCheckboxToggle.svelte b/src/lib/Settings/SettingCheckboxToggle.svelte
index ab603278..58eeacc9 100644
--- a/src/lib/Settings/SettingCheckboxToggle.svelte
+++ b/src/lib/Settings/SettingCheckboxToggle.svelte
@@ -10,6 +10,7 @@
 	export let disabled = false;
 	export let text: string;
 	export let setting: SettingsBooleanKeys[keyof SettingsBooleanKeys];
+	export let lineBreak = true;
 
 	// const toggler = (key: keyof Settings) => [
 	// 	() =>
@@ -47,7 +48,9 @@
 	<slot />
 {/if}
 
-<br />
+{#if lineBreak}
+	<br />
+{/if}
 
 {#if sectionBreak}
 	<p />
-- 
cgit v1.2.3

