Skip to content

Commit

Permalink
Add snapshot failure
Browse files Browse the repository at this point in the history
  • Loading branch information
lunij committed Sep 9, 2024
1 parent 14f2972 commit 77703ec
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Sources/Netbob/Modules/Body/BodyView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ struct BodyView: View {
case let .data(data):
Text("Data \(data.count)")
case let .image(uiImage):
Image(uiImage: uiImage)
.resizable()
.scaledToFit()
ZStack {
Image(uiImage: uiImage)
.resizable()
.scaledToFit()
Text("THIS IS WRONG")
}
case let .json(string), let .text(string):
TextEditor(text: .constant(string))
.font(.system(size: 10, weight: .regular, design: .monospaced))
Expand Down

0 comments on commit 77703ec

Please sign in to comment.