Closed englehorn closed 1 year ago
Helper.swift file is searching the alert headline description for keywords and returning the map icon based on these results. This is creating inaccuracies in the map alert icon results.
https://github.com/WSDOT/wsdot-ios-app/blob/0b6163fe99a73fbd160c6c5912e6c0e46a4e88ed/wsdot/Helpers.swift#L140 https://github.com/WSDOT/wsdot-ios-app/blob/0b6163fe99a73fbd160c6c5912e6c0e46a4e88ed/wsdot/Helpers.swift#L158
We should remove the headline search and just use the eventCategory field for alert types.
Helper.swift file is searching the alert headline description for keywords and returning the map icon based on these results. This is creating inaccuracies in the map alert icon results.
https://github.com/WSDOT/wsdot-ios-app/blob/0b6163fe99a73fbd160c6c5912e6c0e46a4e88ed/wsdot/Helpers.swift#L140 https://github.com/WSDOT/wsdot-ios-app/blob/0b6163fe99a73fbd160c6c5912e6c0e46a4e88ed/wsdot/Helpers.swift#L158
We should remove the headline search and just use the eventCategory field for alert types.