mirror of
https://github.com/yattee/yattee.git
synced 2024-12-13 13:50:32 +05:30
Fix possible crash
This commit is contained in:
parent
5b35c03bc5
commit
55f4a4a2a1
@ -100,7 +100,7 @@ struct CommentView: View {
|
||||
}
|
||||
|
||||
private var authorAvatar: some View {
|
||||
WebImage(url: URL(string: comment.authorAvatarURL)!, options: [.lowPriority])
|
||||
WebImage(url: URL(string: comment.authorAvatarURL), options: [.lowPriority])
|
||||
.resizable()
|
||||
.placeholder {
|
||||
Rectangle().fill(Color("PlaceholderColor"))
|
||||
|
Loading…
Reference in New Issue
Block a user