Hide respiratory rate tab if not supported

This commit is contained in:
José Rebelo 2024-12-01 19:12:27 +00:00
parent 609a673dae
commit 92f1715b09

View File

@ -137,6 +137,9 @@ public class ActivityChartsActivity extends AbstractChartsActivity {
if (!coordinator.supportsActiveCalories()) {
tabList.remove("calories");
}
if (!coordinator.supportsRespiratoryRate()) {
tabList.remove("respiratoryrate");
}
return tabList;
}