mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-25 17:51:01 +00:00
More fix to detail screen
This commit is contained in:
parent
4304977924
commit
c3ae101df2
2 changed files with 2 additions and 2 deletions
|
@ -42,6 +42,7 @@ public struct StatusDetailView: View {
|
|||
|
||||
case let .display(statuses, date):
|
||||
makeStatusesListView(statuses: statuses, date: date)
|
||||
.id(date)
|
||||
|
||||
if !isLoaded {
|
||||
loadingContextView
|
||||
|
@ -113,7 +114,6 @@ public struct StatusDetailView: View {
|
|||
}
|
||||
if self.viewModel.statusId == status.id {
|
||||
makeCurrentStatusView(status: status)
|
||||
.id(date.description)
|
||||
} else {
|
||||
StatusRowView(viewModel: viewModel)
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ class StatusDetailViewModel: ObservableObject {
|
|||
}
|
||||
|
||||
@Published var state: State = .loading
|
||||
@Published var isLoadingContext = false
|
||||
@Published var isLoadingContext = true
|
||||
@Published var title: LocalizedStringKey = ""
|
||||
@Published var scrollToId: String?
|
||||
|
||||
|
|
Loading…
Reference in a new issue