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