fix
This commit is contained in:
parent
04523df564
commit
bc146a48a7
@ -197,11 +197,14 @@ class _AddMountScreenState extends State<AddMountScreen> {
|
||||
}
|
||||
|
||||
setState(() {
|
||||
final changed = _mountType != mountType;
|
||||
_mountType = mountType;
|
||||
_mountNameController.text =
|
||||
(mountType == 'Sia' && _mountNameController.text.isEmpty)
|
||||
? 'default'
|
||||
: '';
|
||||
: changed
|
||||
? ''
|
||||
: _mountNameController.text;
|
||||
|
||||
_mount =
|
||||
(_mountNameController.text.isEmpty)
|
||||
|
Loading…
x
Reference in New Issue
Block a user