Avoid one useless status row change

This commit is contained in:
Thomas Ricouard 2023-01-28 11:09:35 +01:00
parent 3fc172c303
commit e67ae9eb33
1 changed files with 3 additions and 1 deletions

View File

@ -78,7 +78,9 @@ public class StatusRowViewModel: ObservableObject {
let url = status.content.statusesURLs.first,
client.hasConnection(with: url)
else {
isEmbedLoading = false
if isEmbedLoading {
isEmbedLoading = false
}
return
}
do {