about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2025-04-21 11:28:35 -0500
committerGitHub <noreply@github.com>2025-04-21 11:28:35 -0500
commitb800334ebc97fa2ef15f8e0f2f8d81f61626b0fa (patch)
tree60ce7631cd3906b9e522b03594f7c671a3626289
parent9363ff6f481fa905faccad1951ea6d6705c1efae (diff)
downloadvoidsky-b800334ebc97fa2ef15f8e0f2f8d81f61626b0fa.tar.zst
Center handle in verifier dialog (#8247)
* Center handle in verifier dialog

* do the same for the other dialog

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
-rw-r--r--src/components/verification/VerificationsDialog.tsx3
-rw-r--r--src/components/verification/VerifierDialog.tsx3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/components/verification/VerificationsDialog.tsx b/src/components/verification/VerificationsDialog.tsx
index d61823968..76fbcc355 100644
--- a/src/components/verification/VerificationsDialog.tsx
+++ b/src/components/verification/VerificationsDialog.tsx
@@ -35,6 +35,7 @@ export function VerificationsDialog({
 }) {
   return (
     <Dialog.Outer control={control}>
+      <Dialog.Handle />
       <Inner
         control={control}
         profile={profile}
@@ -78,8 +79,6 @@ function Inner({
       style={[
         gtMobile ? {width: 'auto', maxWidth: 400, minWidth: 200} : a.w_full,
       ]}>
-      <Dialog.Handle />
-
       <View style={[a.gap_sm, a.pb_lg]}>
         <Text style={[a.text_2xl, a.font_bold, a.pr_4xl, a.leading_tight]}>
           {label}
diff --git a/src/components/verification/VerifierDialog.tsx b/src/components/verification/VerifierDialog.tsx
index afaac60d6..23cc4724d 100644
--- a/src/components/verification/VerifierDialog.tsx
+++ b/src/components/verification/VerifierDialog.tsx
@@ -30,6 +30,7 @@ export function VerifierDialog({
 }) {
   return (
     <Dialog.Outer control={control}>
+      <Dialog.Handle />
       <Inner
         control={control}
         profile={profile}
@@ -65,8 +66,6 @@ function Inner({
       style={[
         gtMobile ? {width: 'auto', maxWidth: 400, minWidth: 200} : a.w_full,
       ]}>
-      <Dialog.Handle />
-
       <View style={[a.gap_lg]}>
         <View
           style={[