Rename variable to make its intent clear
This commit is contained in:
parent
92f6ee3f42
commit
9836fb781c
|
@ -43,8 +43,8 @@ struct TimelineView: View {
|
||||||
TimelineItemView(timelineItem: timelineItem)
|
TimelineItemView(timelineItem: timelineItem)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.onChange(of: timelineModel.selectedArticleIDs) { value in
|
.onChange(of: timelineModel.selectedArticleIDs) { ids in
|
||||||
navigate = !timelineModel.selectedArticleIDs.isEmpty
|
navigate = !ids.isEmpty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigationTitle(Text(verbatim: timelineModel.nameForDisplay))
|
.navigationTitle(Text(verbatim: timelineModel.nameForDisplay))
|
||||||
|
|
Loading…
Reference in New Issue