Skip to content

Commit

Permalink
Merge pull request #58 from QuantumPhysique/fixInterpolation
Browse files Browse the repository at this point in the history
Fix updating graph when changing interpolation.
  • Loading branch information
braniii committed Mar 18, 2024
2 parents c860e8b + 68be738 commit fabf55f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/lib/core/traleNotifier.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import 'package:intl/intl.dart';
import 'package:trale/core/interpolation.dart';
import 'package:trale/core/language.dart';
import 'package:trale/core/measurementDatabase.dart';
import 'package:trale/core/measurementInterpolation.dart';
import 'package:trale/core/preferences.dart';
import 'package:trale/core/theme.dart';
import 'package:trale/core/units.dart';
Expand Down Expand Up @@ -134,7 +133,7 @@ class TraleNotifier with ChangeNotifier {
set interpolStrength(InterpolStrength strength) {
if (interpolStrength != strength) {
prefs.interpolStrength = strength;
MeasurementInterpolation().reinit();
MeasurementDatabase().reinit();
notifyListeners();
}
}
Expand Down

0 comments on commit fabf55f

Please sign in to comment.