From 201e5c1763bf41b97b323dcc2d8242af8ce6f756 Mon Sep 17 00:00:00 2001 From: ThomasSession Date: Mon, 19 Aug 2024 14:37:06 +1000 Subject: [PATCH] SES-2437 - fix broken path animation --- .../main/java/org/thoughtcrime/securesms/home/PathActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/home/PathActivity.kt b/app/src/main/java/org/thoughtcrime/securesms/home/PathActivity.kt index e65f2d2f26..f399b602b4 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/home/PathActivity.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/home/PathActivity.kt @@ -264,8 +264,8 @@ class PathActivity : PassphraseRequiredActionBarActivity() { job?.cancel() job = GlobalScope.launch { withContext(Dispatchers.Main) { + delay(dotAnimationStartDelay) while (isActive) { - delay(dotAnimationStartDelay) expand() delay(EXPAND_ANIM_DELAY_MILLS) collapse()