[ios] Fixed radio buttons coloring.

This commit is contained in:
VladiMihaylenko 2016-02-10 13:06:03 +03:00 committed by Sergey Yershov
parent 8a1f25a0c8
commit 6987ba2347

View file

@ -73,8 +73,10 @@ using namespace osmoh;
for (UIImageView * image in self.images)
{
if (image.tag == tag)
{
image.image = [UIImage imageNamed:selected ? @"radioBtnOn" : @"radioBtnOff"];
image.mwm_coloring = MWMImageColoringBlue;
image.mwm_coloring = selected ? MWMImageColoringBlue : MWMImageColoringGray;
}
}
}