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)
|
||||
}
|
||||
}
|
||||
.onChange(of: timelineModel.selectedArticleIDs) { value in
|
||||
navigate = !timelineModel.selectedArticleIDs.isEmpty
|
||||
.onChange(of: timelineModel.selectedArticleIDs) { ids in
|
||||
navigate = !ids.isEmpty
|
||||
}
|
||||
}
|
||||
.navigationTitle(Text(verbatim: timelineModel.nameForDisplay))
|
||||
|
|
Loading…
Reference in New Issue