mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-25 22:42:38 +01:00
Fix threading UI
This commit is contained in:
parent
942279e482
commit
a965386a1e
@ -99,7 +99,7 @@ public struct StatusDetailView: View {
|
|||||||
var isReplyToPrevious: Bool = false
|
var isReplyToPrevious: Bool = false
|
||||||
if let index = statuses.firstIndex(where: { $0.id == status.id }),
|
if let index = statuses.firstIndex(where: { $0.id == status.id }),
|
||||||
index > 0,
|
index > 0,
|
||||||
statuses[index - 1].id == status.inReplyToId
|
statuses[index - 1].id == status.inReplyToId && status.inReplyToId != statuses.first?.id
|
||||||
{
|
{
|
||||||
isReplyToPrevious = true
|
isReplyToPrevious = true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user