mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-01 00:18:30 +02:00
Adds support for MOD reports
This commit is contained in:
parent
7bd3e0beab
commit
b0c33808e6
@ -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()
|
||||
|
@ -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() }
|
||||
|
@ -39,6 +39,11 @@
|
||||
<string name="report_explicit_content">Report Explicit Content</string>
|
||||
<string name="report_illegal_behaviour">Report Illegal Behaviour</string>
|
||||
<string name="report_malware">Report Malware</string>
|
||||
<string name="report_mod">Report Mod</string>
|
||||
|
||||
<string name="malware">Malware</string>
|
||||
<string name="mod">Mod</string>
|
||||
|
||||
<string name="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 reply</string>
|
||||
<string name="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 be able to boost posts</string>
|
||||
<string name="login_with_a_private_key_to_like_posts">You are using a public key and public keys are read-only. Login with a Private key to like posts</string>
|
||||
|
@ -130,6 +130,7 @@ class ReportEvent(
|
||||
NUDITY,
|
||||
PROFANITY,
|
||||
MALWARE,
|
||||
MOD,
|
||||
OTHER,
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user