1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-24 19:06:53 +01:00

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

View File

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