Rename variable to make its intent clear

This commit is contained in:
Maurice Parker 2020-07-16 10:53:54 -05:00
parent 92f6ee3f42
commit 9836fb781c
1 changed files with 2 additions and 2 deletions

View File

@ -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))