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.
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(..)
withaccentColor()
, butgetColor(..)
expects a resource reference.No visual changes