forked from upstream-mirrors/OpenTracks
Cleanup: rename category to activityType.
This commit is contained in:
@@ -164,7 +164,7 @@ public class ChartFragment extends Fragment implements TrackDataHub.Listener {
|
||||
return;
|
||||
}
|
||||
|
||||
category = track.getCategory();
|
||||
category = track.getActivityType();
|
||||
boolean reportSpeed = PreferencesUtils.isReportSpeed(category);
|
||||
if (reportSpeed != viewBinding.chartView.getReportSpeed()) {
|
||||
viewBinding.chartView.setReportSpeed(reportSpeed);
|
||||
|
||||
Reference in New Issue
Block a user