Skip to content

Commit cc29817

Browse files
committed
Update the example on watchOS, to use fade transition
1 parent 85a648f commit cc29817

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Example/SDWebImageSwiftUIDemo/ContentView.swift

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ struct ContentView: View {
105105
#else
106106
WebImage(url: URL(string:url))
107107
.resizable()
108+
.animation(.easeInOut(duration: 0.5))
109+
.transition(.fade)
108110
.scaledToFit()
109111
.frame(width: CGFloat(100), height: CGFloat(100), alignment: .center)
110112
#endif

0 commit comments

Comments
 (0)