Committed by
GitHub
Update lib/src/state_manager/rx/rx_core/rx_impl.dart
Co-authored-by: Nipodemos <nipodemos13@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -163,7 +163,7 @@ class _RxImpl<T> implements RxInterface<T> { | @@ -163,7 +163,7 @@ class _RxImpl<T> implements RxInterface<T> { | ||
| 163 | 163 | ||
| 164 | 164 | ||
| 165 | /// Updates the [value] and adds it to the stream, updating the observer | 165 | /// Updates the [value] and adds it to the stream, updating the observer |
| 166 | - /// Widget, only it's different from the previous value. | 166 | + /// Widget, only if it's different from the previous value. |
| 167 | set value(T val) { | 167 | set value(T val) { |
| 168 | if (_value == val && !firstRebuild) return; | 168 | if (_value == val && !firstRebuild) return; |
| 169 | firstRebuild = false; | 169 | firstRebuild = false; |
-
Please register or login to post a comment