diff --git a/src/lib/components/lemmy/post/PostForm.svelte b/src/lib/components/lemmy/post/PostForm.svelte index e64260e6..5c8dd03e 100644 --- a/src/lib/components/lemmy/post/PostForm.svelte +++ b/src/lib/components/lemmy/post/PostForm.svelte @@ -2,8 +2,8 @@ import { createEventDispatcher, onDestroy, onMount } from 'svelte' import { client } from '$lib/lemmy.js' import type { Community, Post, PostView } from 'lemmy-js-client' - import { toast } from 'mono-svelte' - import { Check, Icon, Photo, BookOpen } from 'svelte-hero-icons' + import { Switch, toast } from 'mono-svelte' + import { Check, Icon, Photo, BookOpen, ArrowPath } from 'svelte-hero-icons' import { profile } from '$lib/auth.js' import MarkdownEditor from '$lib/components/markdown/MarkdownEditor.svelte' import { placeholders, uploadImage } from '$lib/util.js' @@ -293,32 +293,37 @@ placeholder={placeholders.get('post')} previewButton /> - NSFW + NSFW
- {#if !edit} +
- {/if} - + + {#if !edit} + + {/if} +