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

View file

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