diff --git a/app/src/main/java/ani/dantotsu/media/comments/CommentsFragment.kt b/app/src/main/java/ani/dantotsu/media/comments/CommentsFragment.kt
index 466958f1..9188698d 100644
--- a/app/src/main/java/ani/dantotsu/media/comments/CommentsFragment.kt
+++ b/app/src/main/java/ani/dantotsu/media/comments/CommentsFragment.kt
@@ -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" +
diff --git a/app/src/main/res/layout/fragment_comments.xml b/app/src/main/res/layout/fragment_comments.xml
index 49c60277..11dbc799 100644
--- a/app/src/main/res/layout/fragment_comments.xml
+++ b/app/src/main/res/layout/fragment_comments.xml
@@ -26,6 +26,15 @@
android:gravity="end"
android:orientation="horizontal"
tools:ignore="UseCompoundDrawables">
+