Skip to content

Commit df2b4e5

Browse files
committed
Update to swift-image-formats v0.2.0
1 parent 5b7beed commit df2b4e5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Package.resolved

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ let package = Package(
141141
),
142142
.package(
143143
url: "https://github.com/stackotter/swift-image-formats",
144-
.upToNextMinor(from: "0.1.1")
144+
.upToNextMinor(from: "0.2.0")
145145
),
146146
] + swift510Dependencies,
147147
targets: [

Sources/SwiftCrossUI/Views/Image.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public struct Image: TypeSafeView, View {
118118
if let image {
119119
backend.updateImageView(
120120
children.imageWidget.into(),
121-
rgbaData: image.data,
121+
rgbaData: image.bytes,
122122
width: image.width,
123123
height: image.height,
124124
targetWidth: size.size.x,

0 commit comments

Comments
 (0)