diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/Report.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/Report.kt index 342b6d5ff..74e3c43a6 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/Report.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/Report.kt @@ -58,7 +58,8 @@ fun RenderReport( ReportEvent.ReportType.SPAM -> stringRes(R.string.spam) ReportEvent.ReportType.IMPERSONATION -> stringRes(R.string.impersonation) ReportEvent.ReportType.ILLEGAL -> stringRes(R.string.illegal_behavior) - ReportEvent.ReportType.MALWARE -> stringRes(R.string.report_malware) + ReportEvent.ReportType.MALWARE -> stringRes(R.string.malware) + ReportEvent.ReportType.MOD -> stringRes(R.string.mod) ReportEvent.ReportType.OTHER -> stringRes(R.string.other) } }.toSet() diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/ReportNoteDialog.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/ReportNoteDialog.kt index 9cadd746e..745932cab 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/ReportNoteDialog.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/ReportNoteDialog.kt @@ -81,6 +81,7 @@ fun ReportNoteDialog( Pair(ReportEvent.ReportType.NUDITY, stringRes(R.string.report_dialog_nudity)), Pair(ReportEvent.ReportType.ILLEGAL, stringRes(R.string.report_dialog_illegal)), Pair(ReportEvent.ReportType.MALWARE, stringRes(R.string.report_malware)), + Pair(ReportEvent.ReportType.MOD, stringRes(R.string.report_mod)), ) val reasonOptions = remember { reportTypes.map { TitleExplainer(it.second) }.toImmutableList() } diff --git a/amethyst/src/main/res/values/strings.xml b/amethyst/src/main/res/values/strings.xml index 98cb21b5e..4cae6f21b 100644 --- a/amethyst/src/main/res/values/strings.xml +++ b/amethyst/src/main/res/values/strings.xml @@ -39,6 +39,11 @@ Report Explicit Content Report Illegal Behaviour Report Malware + Report Mod + + Malware + Mod + You are using a public key and public keys are read-only. Login with a Private key to be able to reply You are using a public key and public keys are read-only. Login with a Private key to be able to boost posts You are using a public key and public keys are read-only. Login with a Private key to like posts diff --git a/quartz/src/main/java/com/vitorpamplona/quartz/events/ReportEvent.kt b/quartz/src/main/java/com/vitorpamplona/quartz/events/ReportEvent.kt index ad2654ab3..119b3d89b 100644 --- a/quartz/src/main/java/com/vitorpamplona/quartz/events/ReportEvent.kt +++ b/quartz/src/main/java/com/vitorpamplona/quartz/events/ReportEvent.kt @@ -130,6 +130,7 @@ class ReportEvent( NUDITY, PROFANITY, MALWARE, + MOD, OTHER, } }