Permalink
Browse files

bug: Solevs the double/int problem in ObservableProperty

  • Loading branch information...
MikeMitterer committed Nov 10, 2015
1 parent 5f70ce8 commit b91b6eddb6fee486beb56b825ad4014538db64e4
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/src/observable/ObservableProperty.dart
@@ -100,7 +100,8 @@ class ObservableProperty<T> {
if(_value.runtimeType == double || _treatAsDouble ) {
_value = ConvertValue.toDouble(val);
// Strange - but this avoids DA-Warning
_value = ConvertValue.toDouble(val) as dynamic;
} else if(_value.runtimeType == bool) {

0 comments on commit b91b6ed

Please sign in to comment.