diff --git a/app/src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java b/app/src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java index ffff25962..90e79299d 100644 --- a/app/src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java +++ b/app/src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java @@ -335,7 +335,7 @@ public class NotificationsFragment extends SFragment implements Either first = CollectionsKt.firstOrNull(this.notifications); String topId; if (first != null && first.isRight()) { - topId = first.getAsRight().getId(); + topId = first.asRight().getId(); } else { topId = null; }