Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
bb8bafa081
1 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks {
|
||||||
|
|
||||||
|
|
||||||
public void createDashboardView() {
|
public void createDashboardView() {
|
||||||
baseColor = mapActivity.getResources().getColor(R.color.osmand_orange);
|
baseColor = mapActivity.getResources().getColor(R.color.osmand_orange) & 0x00ffffff;
|
||||||
waypointDialogHelper = new WaypointDialogHelper(mapActivity);
|
waypointDialogHelper = new WaypointDialogHelper(mapActivity);
|
||||||
landscape = !ScreenOrientationHelper.isOrientationPortrait(mapActivity);
|
landscape = !ScreenOrientationHelper.isOrientationPortrait(mapActivity);
|
||||||
dashboardView = (FrameLayout) mapActivity.findViewById(R.id.dashboard);
|
dashboardView = (FrameLayout) mapActivity.findViewById(R.id.dashboard);
|
||||||
|
@ -628,7 +628,7 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks {
|
||||||
|
|
||||||
|
|
||||||
private void addOrUpdateDashboardFragments(boolean firstTime) {
|
private void addOrUpdateDashboardFragments(boolean firstTime) {
|
||||||
|
firstTime = true;
|
||||||
// boolean showCards = mapActivity.getMyApplication().getSettings().USE_DASHBOARD_INSTEAD_OF_DRAWER.get();
|
// boolean showCards = mapActivity.getMyApplication().getSettings().USE_DASHBOARD_INSTEAD_OF_DRAWER.get();
|
||||||
boolean showCards = !firstTime;
|
boolean showCards = !firstTime;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue