mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-11 18:35:49 +01:00
Hide respiratory rate tab if not supported
This commit is contained in:
parent
609a673dae
commit
92f1715b09
@ -137,6 +137,9 @@ public class ActivityChartsActivity extends AbstractChartsActivity {
|
||||
if (!coordinator.supportsActiveCalories()) {
|
||||
tabList.remove("calories");
|
||||
}
|
||||
if (!coordinator.supportsRespiratoryRate()) {
|
||||
tabList.remove("respiratoryrate");
|
||||
}
|
||||
return tabList;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user