phunware / maas-mapping-android-sdk

Phunware Mapping SDK for Android
0 stars 6 forks source link

SWMAAS-1512 Do not use accentColor() as a color resource because its actually a color int. #105

Closed npike closed 4 years ago

npike commented 4 years ago

This PR updates the usage of the accentColor() extension method so that its used as a color int, and not a color resource.

QA noticed that in the Location Modes scenario that tapping the floating action button was causing a crash. This is because I was trying to call ContextCompat.getColor(..) with accentColor(), but getColor(..) expects a resource reference.

No visual changes