Change app launch animatinon

This commit is contained in:
MM20 2023-03-14 18:31:46 +01:00
parent 2af64000de
commit 9f6444ef77
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -59,7 +59,7 @@ abstract class SearchableItemVM(
open fun launch(context: Context, bounds: Rect? = null): Boolean {
val view = (context as? AppCompatActivity)?.window?.decorView
val options = if (bounds != null && view != null) {
ActivityOptionsCompat.makeClipRevealAnimation(
ActivityOptionsCompat.makeScaleUpAnimation(
view,
bounds.left.toInt(),
bounds.top.toInt(),