Compare commits
No commits in common. "492ccfbdfb10ff3ccbb60912949e95fb1846203b" and "bc146a48a76586e24210049063ea5356065ac91b" have entirely different histories.
492ccfbdfb
...
bc146a48a7
@ -192,12 +192,15 @@ class _AddMountScreenState extends State<AddMountScreen> {
|
||||
}
|
||||
|
||||
void _handleChange(String mountType) {
|
||||
if (_mountType == mountType) {
|
||||
return;
|
||||
}
|
||||
|
||||
setState(() {
|
||||
final changed = _mountType != mountType;
|
||||
|
||||
_mountType = mountType;
|
||||
_mountNameController.text =
|
||||
(mountType == 'Sia' && changed)
|
||||
(mountType == 'Sia' && _mountNameController.text.isEmpty)
|
||||
? 'default'
|
||||
: changed
|
||||
? ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user