mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fix crash after deleting message w/ link preview
This commit is contained in:
parent
eae341a723
commit
db22948887
|
@ -211,7 +211,8 @@ public class LinkPreviewSent: NSObject, LinkPreviewState {
|
|||
return nil
|
||||
}
|
||||
guard let image = UIImage(contentsOfFile: imageFilepath) else {
|
||||
owsFail("Could not load image: \(imageFilepath)")
|
||||
owsFailDebug("Could not load image: \(imageFilepath)")
|
||||
return nil
|
||||
}
|
||||
return image
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue