From d54226d255825bb914526e607f12f5be39acfa26 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 24 Oct 2018 18:29:17 +0200 Subject: [PATCH] stop refreshing swipe layout on Back press --- .../com/simplemobiletools/calendar/activities/MainActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt index 935db0b10..bbe731ec6 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt @@ -188,6 +188,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener { } override fun onBackPressed() { + swipe_refresh_layout.isRefreshing = false if (currentFragments.size > 1) { removeTopFragment() } else {