Fix bad donor badge input behaviour.

This commit is contained in:
Alex Hart
2022-05-27 12:54:33 -03:00
committed by Greyson Parrelli
parent 1b471e163d
commit 93e5052d6b
5 changed files with 44 additions and 21 deletions

View File

@@ -82,6 +82,10 @@ class CircularProgressMaterialButton @JvmOverloads constructor(
}
private fun transformTo(state: State, animate: Boolean) {
if (state == currentState && state == requestedState) {
return
}
requestedState = state
if (animator?.isRunning == true) {
return