Files
ios-mail/Modules/InboxCoreUI/Sources/LoadingBar
Mateusz Szklarek c84038174e Improve animation and API for loading bar (make usage easier)
Using timer and syncing it with animation cycles is not best idea, it's
super easy to get out of sync. I switched to completion from:

func withAnimation<Result>(
    _ animation: Animation? = .default,
    completionCriteria: AnimationCompletionCriteria = .logicallyComplete,
    _ body: () throws -> Result,
    completion: @escaping () -> Void
) rethrows -> Result

rely on that for animation cycle.
2025-11-28 11:46:42 +01:00
..