getCustomInstructionIcon
fun getCustomInstructionIcon(appContext: Context, instructionType: InstructionType, isInDarkMode: Boolean, isChainedManeuver: Boolean = false): Bitmap?
Returns the Bitmap that corresponds to the instructionType if any
Return
a Bitmap or null if no icon matches the instructionType or if icon is not found
Parameters
appContext
the app Context for getting custom icons from scoped storage
instructionType
the type of the instruction
isInDarkMode
indicates if custom icons should be those for dark mode (true) or light mode (false)