apieceofcode
Committed by GitHub

Update rx_notifier.dart

fix refresh() not called when status equals to SuccessState
@@ -46,7 +46,6 @@ mixin StateMixin<T> on ListNotifier { @@ -46,7 +46,6 @@ mixin StateMixin<T> on ListNotifier {
46 _status = newStatus; 46 _status = newStatus;
47 if (newStatus is SuccessState<T>) { 47 if (newStatus is SuccessState<T>) {
48 _value = newStatus.data!; 48 _value = newStatus.data!;
49 - return;  
50 } 49 }
51 refresh(); 50 refresh();
52 } 51 }