switch speed zones and live activity tabs

(makes it easier, since live activity is not for all devices9
This commit is contained in:
Andreas Shimokawa 2017-08-27 22:00:28 +02:00
parent 612592516b
commit 1ff8fbac55
1 changed files with 4 additions and 5 deletions

View File

@ -328,10 +328,9 @@ public class ChartsActivity extends AbstractGBFragmentActivity implements Charts
case 3:
return new WeekStepsChartFragment();
case 4:
return new LiveActivityFragment();
case 5:
return new SpeedZonesFragment();
case 5:
return new LiveActivityFragment();
}
return null;
}
@ -358,9 +357,9 @@ public class ChartsActivity extends AbstractGBFragmentActivity implements Charts
case 3:
return getString(R.string.weekstepschart_steps_a_week);
case 4:
return getString(R.string.liveactivity_live_activity);
case 5:
return getString(R.string.stats_title);
case 5:
return getString(R.string.liveactivity_live_activity);
}
return super.getPageTitle(position);
}