Simplified render_event() if-else by using a switch
Simplified render_event() if-else by using a switch

Signed-off-by: Ealden Esto E. Escanan <ff27627daef6b3172da4425363457b1137a9e29e@gmail.com>

ealden/hubgap