feat(Settings): add dev mode toggle to images

This commit is contained in:
sethburkart123
2024-09-19 17:03:58 +10:00
parent 91ec33c0f9
commit 92c0076e2d
3 changed files with 38 additions and 3 deletions
@@ -148,4 +148,16 @@
] as option}
{@render Setting(option)}
{/each}
{#if $settingsState.devMode}
<div class="flex items-center justify-between px-4 py-3">
<div class="pr-4">
<h2 class="text-sm font-bold">Developer Mode</h2>
<p class="text-xs">Enables developer mode, allowing you to test new features and changes.</p>
</div>
<div>
<Switch state={$settingsState.devMode} onChange={(isOn: boolean) => settingsState.devMode = isOn} />
</div>
</div>
{/if}
</div>