From fa0ee82fe441242b483744335ac9f44a6bbcfcba Mon Sep 17 00:00:00 2001 From: Conny Duck Date: Mon, 14 Jan 2019 22:29:12 +0100 Subject: [PATCH] fix build --- .../com/keylesspalace/tusky/fragment/NotificationsFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }