about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2023-05-15 12:25:50 -0700
committerGitHub <noreply@github.com>2023-05-15 14:25:50 -0500
commit0a0afdf2c2c90c5460784935e9d1324dadf61d48 (patch)
tree2352259f45fe0c6494ff8cfbcc846e80eb17e2bd /src
parent824a2313b1d1d7a5c5ab7fa8680ac8aa30c98bc0 (diff)
downloadvoidsky-0a0afdf2c2c90c5460784935e9d1324dadf61d48.tar.zst
reporting: anti-social option; alert emoji around urgent option (#617)
* reporting: new anti-social post report option

* reporting: alarm emoji on urgent report option

* reporting: appease 'make lint'

I originally had text on a separate line, but that failed, so I put
text+tags on a line and thought that worked, but failed again? Seems
inconsistent, but trying again.

* Remove emojis and increase report post height

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/view/com/modals/ReportPost.tsx15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/view/com/modals/ReportPost.tsx b/src/view/com/modals/ReportPost.tsx
index 0695eed8e..ec75dc4c2 100644
--- a/src/view/com/modals/ReportPost.tsx
+++ b/src/view/com/modals/ReportPost.tsx
@@ -19,7 +19,7 @@ import {usePalette} from 'lib/hooks/usePalette'
 
 const DMCA_LINK = 'https://bsky.app/support/copyright'
 
-export const snapPoints = [500]
+export const snapPoints = [550]
 
 export function Component({
   postUri,
@@ -73,6 +73,19 @@ export function Component({
         ),
       },
       {
+        key: ComAtprotoModerationDefs.REASONRUDE,
+        label: (
+          <View>
+            <Text style={pal.text} type="md-bold">
+              Anti-Social Behavior
+            </Text>
+            <Text style={pal.textLight}>
+              Harassment, trolling, or intolerance
+            </Text>
+          </View>
+        ),
+      },
+      {
         key: ComAtprotoModerationDefs.REASONVIOLATION,
         label: (
           <View>