1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-01-24 16:47:32 +01:00

Use existing string for temperature

This commit is contained in:
José Rebelo 2024-03-18 09:12:33 +00:00
parent fc88a4ea9b
commit b7ab61f233
3 changed files with 2 additions and 3 deletions

View File

@ -200,7 +200,7 @@ public class ActivityChartsActivity extends AbstractChartsActivity {
case "spo2": case "spo2":
return getString(R.string.pref_header_spo2); return getString(R.string.pref_header_spo2);
case "temperature": case "temperature":
return getString(R.string.temperature); return getString(R.string.menuitem_temperature);
} }
return super.getPageTitle(position); return super.getPageTitle(position);
} }

View File

@ -183,7 +183,7 @@ public class TemperatureChartFragment extends AbstractChartFragment<TemperatureC
} }
} }
LineDataSet dataSet = new LineDataSet(entries, getString(R.string.temperature)); LineDataSet dataSet = new LineDataSet(entries, getString(R.string.menuitem_temperature));
dataSet.setLineWidth(2.2f); dataSet.setLineWidth(2.2f);
dataSet.setMode(LineDataSet.Mode.HORIZONTAL_BEZIER); dataSet.setMode(LineDataSet.Mode.HORIZONTAL_BEZIER);
dataSet.setCubicIntensity(0.1f); dataSet.setCubicIntensity(0.1f);

View File

@ -906,7 +906,6 @@
<string name="minutes_10">10 minutes</string> <string name="minutes_10">10 minutes</string>
<string name="minutes_30">30 minutes</string> <string name="minutes_30">30 minutes</string>
<string name="liveactivity_live_activity">Live activity</string> <string name="liveactivity_live_activity">Live activity</string>
<string name="temperature">Temperature</string>
<string name="weeksteps_today_steps_description">Steps today, target: %1$s</string> <string name="weeksteps_today_steps_description">Steps today, target: %1$s</string>
<string name="lack_of_step">Lack of steps: %1$d</string> <string name="lack_of_step">Lack of steps: %1$d</string>
<string name="overstep">Overstep: %1$d</string> <string name="overstep">Overstep: %1$d</string>