Adds the missing when clauses due to the change in reports.

This commit is contained in:
Vitor Pamplona
2025-12-09 09:49:18 -05:00
parent d3fb507faa
commit d268577443
3 changed files with 3 additions and 2 deletions
@@ -61,9 +61,9 @@ fun RenderReport(
ReportType.IMPERSONATION -> stringRes(R.string.impersonation)
ReportType.ILLEGAL -> stringRes(R.string.illegal_behavior)
ReportType.MALWARE -> stringRes(R.string.malware)
ReportType.MOD -> stringRes(R.string.mod)
ReportType.OTHER -> stringRes(R.string.other)
ReportType.HARASSMENT -> stringRes(R.string.harassment)
ReportType.VIOLENCE -> stringRes(R.string.violence)
null -> stringRes(R.string.other)
}
}.toSet()
@@ -85,7 +85,7 @@ fun ReportNoteDialog(
Pair(ReportType.NUDITY, stringRes(R.string.report_dialog_nudity)),
Pair(ReportType.ILLEGAL, stringRes(R.string.report_dialog_illegal)),
Pair(ReportType.MALWARE, stringRes(R.string.report_malware)),
Pair(ReportType.MOD, stringRes(R.string.report_mod)),
Pair(ReportType.VIOLENCE, stringRes(R.string.violence)),
)
val reasonOptions = remember { reportTypes.map { TitleExplainer(it.second) }.toImmutableList() }
+1
View File
@@ -23,6 +23,7 @@
<string name="illegal_behavior">Illegal Behavior</string>
<string name="other">Other</string>
<string name="harassment">Harassment</string>
<string name="violence">Violence</string>
<string name="unknown">Unknown</string>
<string name="relay_icon">Relay Icon</string>
<string name="unknown_author">Unknown Author</string>