From 9b8b0369744d25efa3d3634f5fd6e7cc60c074d6 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Thu, 12 Sep 2019 20:02:30 +0200 Subject: [PATCH] Fix statuses in search not openening details (#1479) --- .../tusky/components/search/fragments/SearchFragment.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/components/search/fragments/SearchFragment.kt b/app/src/main/java/com/keylesspalace/tusky/components/search/fragments/SearchFragment.kt index 9968a0950..7f6a00562 100644 --- a/app/src/main/java/com/keylesspalace/tusky/components/search/fragments/SearchFragment.kt +++ b/app/src/main/java/com/keylesspalace/tusky/components/search/fragments/SearchFragment.kt @@ -128,7 +128,8 @@ abstract class SearchFragment : Fragment(), bottomSheetActivity?.viewUrl(url) } - protected val bottomSheetActivity = (activity as? BottomSheetActivity) + protected val bottomSheetActivity + get() = (activity as? BottomSheetActivity) override fun onRefresh() {