File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ public struct SwURLImage: SwURLImageViewType {
44
44
ZStack {
45
45
if finalImage == nil {
46
46
placeholderView
47
- . transition ( transitionType. t)
48
47
loadingIndicator
49
48
}
50
49
finalImage
@@ -57,7 +56,7 @@ public struct SwURLImage: SwURLImageViewType {
57
56
remoteImage. load ( url: url)
58
57
}
59
58
}
60
- . animation ( transitionType. animation, value: remoteImage. imageStatus. index )
59
+ . animation ( transitionType. animation, value: remoteImage. imageStatus. identifier )
61
60
}
62
61
63
62
public init (
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ enum RemoteImageStatus: Equatable {
15
15
case complete( result: CGImage )
16
16
case progress( fraction: Float )
17
17
18
- var index : Int {
18
+ var identifier : Int {
19
19
switch self {
20
20
case . pending:
21
21
return 0
You can’t perform that action at this time.
0 commit comments