From 11fd3a7e4f3fe49f992a5fdcfe1cd973107ad421 Mon Sep 17 00:00:00 2001 From: Antonis Lilis Date: Fri, 23 Feb 2024 13:08:30 +0200 Subject: [PATCH] Removes extra call to comment like status setter --- .../android/ui/notifications/NotificationsListFragmentPage.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationsListFragmentPage.kt b/WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationsListFragmentPage.kt index 71b90f84ee53..ce7c9ab04702 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationsListFragmentPage.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationsListFragmentPage.kt @@ -517,7 +517,7 @@ class NotificationsListFragmentPage : ViewPagerFragment(R.layout.notifications_l if (!isAdded) { return } - notesAdapter.updateNote(event.note.apply { setLikedComment(event.liked) }) + notesAdapter.updateNote(event.note) } @Subscribe(sticky = true, threadMode = MAIN)