forked from organicmaps/organicmaps
[ios] Fixed auto switching bug.
This commit is contained in:
parent
f01c9b6dcd
commit
e9656b57d7
1 changed files with 5 additions and 0 deletions
|
@ -73,6 +73,11 @@
|
|||
{
|
||||
[MapsAppDelegate setAutoNightModeOn:YES];
|
||||
[MapsAppDelegate changeMapStyleIfNedeed];
|
||||
if (style == MapStyleClear || style == MapStyleLight)
|
||||
return;
|
||||
[UIColor setNightMode:NO];
|
||||
f.SetMapStyle(MapStyleClear);
|
||||
[self refresh];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue