update the day/night mode setting when app mode changes

This commit is contained in:
Pavol Zibrita 2011-12-09 02:53:09 +01:00
parent cae73da448
commit f55cef6237

View file

@ -887,6 +887,7 @@ public class MapActivity extends Activity implements IMapLocationListener, Senso
registerUnregisterSensor(getLastKnownLocation());
mapLayers.getMapInfoLayer().applyTheme();
mapLayers.updateLayers(mapView);
getMyApplication().getDaynightHelper().setDayNightMode(settings.DAYNIGHT_MODE.get());
}