[ios] Fixed auto switching bug.

This commit is contained in:
VladiMihaylenko 2016-01-15 18:34:21 +03:00
parent f01c9b6dcd
commit e9656b57d7

View file

@ -73,6 +73,11 @@
{
[MapsAppDelegate setAutoNightModeOn:YES];
[MapsAppDelegate changeMapStyleIfNedeed];
if (style == MapStyleClear || style == MapStyleLight)
return;
[UIColor setNightMode:NO];
f.SetMapStyle(MapStyleClear);
[self refresh];
}
}