From 521b2ebbfecb9ad571fe8e72444a4b22d4de3df6 Mon Sep 17 00:00:00 2001 From: Arunkumar Date: Sat, 14 Sep 2019 14:42:08 +0800 Subject: [PATCH] Revert history related regressions --- .../main/java/arun/com/chromer/history/HistoryFragment.kt | 5 ++++- android-app/app/src/main/res/values/changelog.xml | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/android-app/app/src/main/java/arun/com/chromer/history/HistoryFragment.kt b/android-app/app/src/main/java/arun/com/chromer/history/HistoryFragment.kt index 1ffc7fb1..717e50c0 100644 --- a/android-app/app/src/main/java/arun/com/chromer/history/HistoryFragment.kt +++ b/android-app/app/src/main/java/arun/com/chromer/history/HistoryFragment.kt @@ -197,7 +197,10 @@ class HistoryFragment : BaseFragment(), Snackable, FabHandler { swipeRefreshLayout.apply { setColorSchemeColors(ContextCompat.getColor(context!!, R.color.colorPrimary), ContextCompat.getColor(context!!, R.color.accent)) - setOnRefreshListener { loadHistory() } + setOnRefreshListener { + loadHistory() + isRefreshing = false + } } ItemTouchHelper(object : ItemTouchHelper.SimpleCallback(0, LEFT or RIGHT) { diff --git a/android-app/app/src/main/res/values/changelog.xml b/android-app/app/src/main/res/values/changelog.xml index 2d651ec5..dbbd0911 100644 --- a/android-app/app/src/main/res/values/changelog.xml +++ b/android-app/app/src/main/res/values/changelog.xml @@ -46,7 +46,6 @@ a {
  • IMPROVED: If clipboard contains multiple links, extract them and show as individual suggestion items in search bar
  • FIX: Menu -> Copy Link does not work/slow sometimes
  • FIX: Webview provider bottom bar not respecting toolbar color setting
  • -
  • FIX: History sometimes not refreshing when items are deleted
  • NEW: Suggest Kiwi and Vivaldi providers
  • NEW: Option to have new line separated list when sharing multiple links
  • IMPROVED: Android 10 support