Esri / data-collection-ios

Mobile data collection app using the iOS Runtime SDK.
https://developers.arcgis.com/
Apache License 2.0
25 stars 26 forks source link

Subtitle update #302

Closed mhdostal closed 3 years ago

mhdostal commented 3 years ago

Force subtitle for selected row to be regenerated next time through, just in case there were any edits to the feature.

@esreli This was the best quick-fix for the subtitle not being updated. I wanted to use the EditsMade mechanism, but because of the hierarchical nature of the PopupViewController -> PopupDetailViewController UI stack, it was not easy, straightforward, or risk free.

With this fix, when the cell represented the edited feature is reloaded, the subtitle will update. So now the subtitle and the swatch will behave the same.