stop refreshing swipe layout on Back press

This commit is contained in:
tibbi 2018-10-24 18:29:17 +02:00
parent 37d6c98d58
commit d54226d255
1 changed files with 1 additions and 0 deletions

View File

@ -188,6 +188,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
}
override fun onBackPressed() {
swipe_refresh_layout.isRefreshing = false
if (currentFragments.size > 1) {
removeTopFragment()
} else {