From 9899eff8d244f5053ef1fbbecbd5af3300242770 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 ffff2596..90e79299 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; }