about summary refs log tree commit diff
path: root/src/components/ReportDialog/SubmitView.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-01-22 21:03:31 +0000
committerGitHub <noreply@github.com>2025-01-22 21:03:31 +0000
commit74bb65714b7c7b128ddb27438773b149bbe5ec6c (patch)
tree83f3348e762938185977b74e51a10f96d4229bc3 /src/components/ReportDialog/SubmitView.tsx
parent638008c781d4ccb038de57344e18a5237a0f371d (diff)
downloadvoidsky-74bb65714b7c7b128ddb27438773b149bbe5ec6c.tar.zst
Post-report menu (#7446)
* post-report block/delete dialog

* fix

* default checked

* web styles

* add icon to send button

* wire everything up

* optimisically leave convo

* hide pending-leave convos

* Capitalize action labels

* Code style

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'src/components/ReportDialog/SubmitView.tsx')
-rw-r--r--src/components/ReportDialog/SubmitView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/ReportDialog/SubmitView.tsx b/src/components/ReportDialog/SubmitView.tsx
index ef4a9b7fb..36bd1d466 100644
--- a/src/components/ReportDialog/SubmitView.tsx
+++ b/src/components/ReportDialog/SubmitView.tsx
@@ -16,6 +16,7 @@ import * as Dialog from '#/components/Dialog'
 import * as Toggle from '#/components/forms/Toggle'
 import {Check_Stroke2_Corner0_Rounded as Check} from '#/components/icons/Check'
 import {ChevronLeft_Stroke2_Corner0_Rounded as ChevronLeft} from '#/components/icons/Chevron'
+import {PaperPlane_Stroke2_Corner0_Rounded as SendIcon} from '#/components/icons/PaperPlane'
 import {Loader} from '#/components/Loader'
 import {Text} from '#/components/Typography'
 import {ReportDialogProps} from './types'
@@ -223,7 +224,7 @@ export function SubmitView({
           <ButtonText>
             <Trans>Send report</Trans>
           </ButtonText>
-          {submitting && <ButtonIcon icon={Loader} />}
+          <ButtonIcon icon={submitting ? Loader : SendIcon} />
         </Button>
       </View>
       {/* Maybe fix this later -h */}