Skip to content

Commit

Permalink
Merge pull request #75 from sduduzog/fix-search-input-clear-text-on-exit
Browse files Browse the repository at this point in the history
Fix search input clear text on exit
  • Loading branch information
sduduzog authored Jun 26, 2020
2 parents 00718e6 + a1090a1 commit 817ef19
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
8 changes: 2 additions & 6 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
plugins {
id("com.android.application")

id("com.github.triplet.play") version "2.8.0"

kotlin("android")

kotlin("android.extensions")

kotlin("kapt")
}

Expand All @@ -16,8 +12,8 @@ android {
applicationId = "com.sduduzog.slimlauncher"
minSdkVersion(21)
targetSdkVersion(29)
versionCode = 42
versionName = "2.4.7"
versionCode = 44
versionName = "2.4.8"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables{useSupportLibrary = true}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,17 @@ class AddAppFragment : BaseFragment(), OnAppClickedListener {
add_app_fragment_progress_bar.visibility = View.VISIBLE
}
})
add_app_fragment_edit_text.addTextChangedListener(onTextChangeListener)
}

override fun onResume() {
super.onResume()
viewModel.setInstalledApps(getInstalledApps())
viewModel.filterApps("")
add_app_fragment_edit_text.addTextChangedListener(onTextChangeListener)
}

override fun onDestroy() {
super.onDestroy()
override fun onPause() {
super.onPause()
add_app_fragment_edit_text?.removeTextChangedListener(onTextChangeListener)
}

Expand Down
3 changes: 2 additions & 1 deletion app/src/main/play/release-notes/en-US/default.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
1. Updating dependencies
1. Minor bug fixes
2. Clear search filter with app search in settings

0 comments on commit 817ef19

Please sign in to comment.