From b454a2e3d9fa1fce092d5715740ccf493591cdc5 Mon Sep 17 00:00:00 2001 From: rebelonion <87634197+rebelonion@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:08:46 -0500 Subject: [PATCH] fix: comment notification at bottom --- .../java/ani/dantotsu/profile/activity/NotificationActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/ani/dantotsu/profile/activity/NotificationActivity.kt b/app/src/main/java/ani/dantotsu/profile/activity/NotificationActivity.kt index fe01db58..9b68f377 100644 --- a/app/src/main/java/ani/dantotsu/profile/activity/NotificationActivity.kt +++ b/app/src/main/java/ani/dantotsu/profile/activity/NotificationActivity.kt @@ -129,6 +129,7 @@ class NotificationActivity : AppCompatActivity() { ) newNotifications += notification } + newNotifications.sortByDescending { it.createdAt } } notificationList += newNotifications