Blur wallpaper during pull down gesture

This commit is contained in:
MM20 2021-12-17 19:42:06 +01:00
parent ca6c829071
commit d228ba90a0
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -768,7 +768,9 @@ class LauncherActivity : AppCompatActivity() {
binding.container.translationY = 0f
} else {
binding.container.translationY = binding.searchBar.height.toFloat()
}
windowBackgroundBlur = searchVisibility || newTransY > 0.6 * binding.searchBar.height
if (binding.container.translationY == 0f) return@onTouch false
}