From 1285a52b469baf86912aaeabbdcd8a33b5356504 Mon Sep 17 00:00:00 2001 From: alexdremov Date: Mon, 25 Jul 2022 00:25:46 +0300 Subject: [PATCH] Animation enhancements --- Sources/PathPresenter/Path.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/PathPresenter/Path.swift b/Sources/PathPresenter/Path.swift index 277fe99..5991a4d 100644 --- a/Sources/PathPresenter/Path.swift +++ b/Sources/PathPresenter/Path.swift @@ -175,6 +175,7 @@ public extension PathPresenter { hash: value.id.hashValue, zIndex: zIndex)) case .sheet(onDismiss: let onDismiss): + relevantAnimation = nil path.append(.sheet(view: typeErased, hash: value.id.hashValue, onDismiss: onDismiss))