Skip to content
This repository was archived by the owner on Dec 28, 2024. It is now read-only.

Commit

Permalink
Bpc widget values change, when changed with other way than flutter app (
Browse files Browse the repository at this point in the history
#83)

* Bpc widget values change, when changed with other way than flutter app

* remove print
  • Loading branch information
Darcraytore1 authored Jun 28, 2024
1 parent 8084647 commit d8791de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/widgets/userspace_widgets/ic_bpc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class _IcBpcState extends State<IcBpc> {
case "enable":
if (field.key == "value") {
_enableValueEff = field.value;
_enableValueReq ??= _enableValueEff;
_enableValueReq = _enableValueEff;
}
break;

Expand All @@ -72,7 +72,7 @@ class _IcBpcState extends State<IcBpc> {
case double:
_voltageValueEff = field.value;
}
_voltageValueReq ??= _voltageValueEff;
_voltageValueReq = _voltageValueEff;
}

if (field.key == "min") {
Expand All @@ -99,7 +99,7 @@ class _IcBpcState extends State<IcBpc> {
case double:
_currentValueEff = field.value;
}
_currentValueReq ??= _currentValueEff;
_currentValueReq = _currentValueEff;
}

if (field.key == "min") {
Expand Down

0 comments on commit d8791de

Please sign in to comment.