fix: add price where needed
This commit is contained in:
parent
630eacc1e1
commit
60265b9735
3 changed files with 74 additions and 24 deletions
|
|
@ -72,4 +72,11 @@ class AddViewModel extends ChangeNotifier {
|
|||
id: 0,
|
||||
);
|
||||
}
|
||||
|
||||
bool _askPrice = true;
|
||||
bool get askPrice => _askPrice;
|
||||
set askPrice(bool newValue) {
|
||||
_askPrice = newValue;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue