DiabetesCompass / Diabetes_Compass

iOS code for type 1 diabetes management
MIT License
4 stars 0 forks source link

crash when an item selected for "favorites" #28

Closed calferness closed 7 years ago

calferness commented 7 years ago

In the ItemSelectionView Controller operation, there is an open star icon button on the left of each item in the array. If that star is selected, the app is supposed to place that item in a favorites array somehow (or identify it as a favorite for future use) and change the icon to a filled star. Instead, the app crashes.

beepscore commented 7 years ago

git commit #5c2e8dd Fix github issue #28 crash when an item selected for "favorites”. expression for cell was wrong, so it was evaluating to nil.