优化代码
This commit is contained in:
@@ -250,9 +250,15 @@ public class MogoADASController implements IMogoADASController {
|
||||
AdasConfigApiController.getInstance().setUserCarHeading( EnumCarHeading.NORTH_UP );
|
||||
break;
|
||||
case Type_Light:
|
||||
if ( getCurrentSkinMode() == EnumMapUI.Type_Light ) {
|
||||
return;
|
||||
}
|
||||
AdasConfigApiController.getInstance().setUserSkinModel( EnumSkinStyle.WHITE );
|
||||
break;
|
||||
case Type_Night:
|
||||
if ( getCurrentSkinMode() == EnumMapUI.Type_Night ) {
|
||||
return;
|
||||
}
|
||||
AdasConfigApiController.getInstance().setUserSkinModel( EnumSkinStyle.BLACK );
|
||||
break;
|
||||
case Type_AUTO_LIGHT_Night:
|
||||
|
||||
Reference in New Issue
Block a user