pacmacro / pm-iOS

0 stars 1 forks source link

Modify player icon logic #2

Closed CtrlShiftGo closed 8 years ago

CtrlShiftGo commented 8 years ago

Simplify logic by removing the switch statement and replacing with direct assignment.

This assumes that the value of the annotation subtitle is one of the player types. Additional checks will be necessary upon assigning player type to ensure that player type is set correctly.

jleung51 commented 8 years ago

Looks good to me!