From ee6233dc4fc315d6187387267fbf4d9628ae1047 Mon Sep 17 00:00:00 2001 From: david-swift Date: Wed, 4 Sep 2024 21:31:37 +0200 Subject: [PATCH] Update demo --- Sources/Demo/TransitionDemo.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Demo/TransitionDemo.swift b/Sources/Demo/TransitionDemo.swift index 9ef07ae..67c74b0 100644 --- a/Sources/Demo/TransitionDemo.swift +++ b/Sources/Demo/TransitionDemo.swift @@ -17,12 +17,12 @@ struct TransitionDemo: View { VStack { if firstView { Text("First View") - .transition(.slideDown) .accent() + .transition(.slideDown) } else { Text("Second View") - .transition(.slideUp) .success() + .transition(.slideUp) } } .modifyContent(Text.self) { $0.title2().padding() }