mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Cancel boost animations in onStop.
This commit is contained in:
committed by
Cody Henthorne
parent
fc145d7367
commit
018bb49a03
@@ -229,6 +229,21 @@ class DonateToSignalFragment : DSLSettingsFragment(
|
||||
}
|
||||
}
|
||||
|
||||
override fun onStop() {
|
||||
super.onStop()
|
||||
|
||||
listOf(
|
||||
binding.boost1Animation,
|
||||
binding.boost2Animation,
|
||||
binding.boost3Animation,
|
||||
binding.boost4Animation,
|
||||
binding.boost5Animation,
|
||||
binding.boost6Animation
|
||||
).forEach {
|
||||
it.cancelAnimation()
|
||||
}
|
||||
}
|
||||
|
||||
private fun getConfiguration(state: DonateToSignalState): DSLConfiguration {
|
||||
return configure {
|
||||
space(36.dp)
|
||||
|
||||
Reference in New Issue
Block a user