kopia lustrzana https://github.com/ryukoposting/Signal-Android
Cancel boost animations in onStop.
rodzic
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)
|
||||
|
|
Ładowanie…
Reference in New Issue