mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-20 13:23:57 +00:00
[skip ci] feat:Added button to view rules (#525)
* feat:added way to clear saved manga progress * feat:Added button to view rules * changed something
This commit is contained in:
@@ -162,6 +162,26 @@ class CommentsFragment : Fragment() {
|
||||
popup.inflate(R.menu.comments_sort_menu)
|
||||
popup.show()
|
||||
}
|
||||
binding.openRules.setOnClickListener {
|
||||
activity.customAlertDialog().apply {
|
||||
setTitle("Commenting Rules")
|
||||
.setMessage(
|
||||
"🚨 BREAK ANY RULE = YOU'RE GONE\n\n" +
|
||||
"1. NO RACISM, DISCRIMINATION, OR HATE SPEECH\n" +
|
||||
"2. NO SPAMMING OR SELF-PROMOTION\n" +
|
||||
"3. ABSOLUTELY NO NSFW CONTENT\n" +
|
||||
"4. ENGLISH ONLY – NO EXCEPTIONS\n" +
|
||||
"5. NO IMPERSONATION, HARASSMENT, OR ABUSE\n" +
|
||||
"6. NO ILLEGAL CONTENT OR EXTREME DISRESPECT TOWARDS ANY FANDOM\n" +
|
||||
"7. DO NOT REQUEST OR SHARE REPOSITORIES/EXTENSIONS\n" +
|
||||
"8. SPOILERS ALLOWED ONLY WITH SPOILER TAGS AND A WARNING\n" +
|
||||
"9. NO SEXUALIZING OR INAPPROPRIATE COMMENTS ABOUT MINOR CHARACTERS\n" +
|
||||
"10. IF IT'S WRONG, DON'T POST IT!\n\n"
|
||||
)
|
||||
setNegButton("I Understand") {}
|
||||
show()
|
||||
}
|
||||
}
|
||||
|
||||
binding.commentFilter.setOnClickListener {
|
||||
activity.customAlertDialog().apply {
|
||||
@@ -565,7 +585,7 @@ class CommentsFragment : Fragment() {
|
||||
* Called when the user tries to comment for the first time
|
||||
*/
|
||||
private fun showCommentRulesDialog() {
|
||||
activity.customAlertDialog().apply{
|
||||
activity.customAlertDialog().apply {
|
||||
setTitle("Commenting Rules")
|
||||
.setMessage(
|
||||
"🚨 BREAK ANY RULE = YOU'RE GONE\n\n" +
|
||||
|
||||
Reference in New Issue
Block a user