Fix scroll to id

This commit is contained in:
Thomas Ricouard 2024-01-01 14:16:42 +01:00
parent b10ee3091c
commit 8c72b627df

View file

@ -93,7 +93,7 @@ import SwiftUI
} }
} else { } else {
state = .display(statuses: statuses) state = .display(statuses: statuses)
scrollToId = statusId scrollToId = data.status.id + (data.status.editedAt?.asDate.description ?? "")
} }
} catch { } catch {
if let error = error as? ServerError, error.httpCode == 404 { if let error = error as? ServerError, error.httpCode == 404 {