mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-03 09:53:06 +02:00
Recording intervals received a null trackId because trackId is created in a Runnable.
Unit changed needs refreshing the intervals. Fixes #406.
This commit is contained in:
@@ -24,6 +24,7 @@ import de.dennisguse.opentracks.util.UnitConversions;
|
||||
public class IntervalStatisticsModel extends AndroidViewModel {
|
||||
|
||||
private MutableLiveData<IntervalStatistics> intervalStats = new MutableLiveData<>();
|
||||
private IntervalOption interval = IntervalOption.OPTION_1;
|
||||
|
||||
public IntervalStatisticsModel(@NonNull Application application) {
|
||||
super(application);
|
||||
|
||||
Reference in New Issue
Block a user