Fix RP cards
This commit is contained in:
parent
722475ab5b
commit
494d3882c1
2 changed files with 3 additions and 2 deletions
|
@ -992,6 +992,7 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener
|
|||
|
||||
private void clickRouteCancel() {
|
||||
mapControlsLayer.stopNavigation();
|
||||
setRouteCalculationInProgress(false);
|
||||
}
|
||||
|
||||
private void clickRouteParams() {
|
||||
|
|
|
@ -367,12 +367,12 @@ public class MapRouteInfoMenuFragment extends BaseOsmAndFragment {
|
|||
public int getStatusBarColorId() {
|
||||
if (view != null) {
|
||||
if (menu != null && (getViewY() <= 0 || !portrait)) {
|
||||
if (Build.VERSION.SDK_INT >= 23) {
|
||||
if (Build.VERSION.SDK_INT >= 23 && !nightMode) {
|
||||
view.setSystemUiVisibility(view.getSystemUiVisibility() | View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
|
||||
}
|
||||
return nightMode ? R.color.dialog_divider_dark : R.color.dialog_divider_light;
|
||||
} else {
|
||||
if (Build.VERSION.SDK_INT >= 23) {
|
||||
if (Build.VERSION.SDK_INT >= 23 && !nightMode) {
|
||||
view.setSystemUiVisibility(view.getSystemUiVisibility() & ~View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue