fix node QR Code URI parsing (#1916)

* fix:node QR Code URI parsing

* optionally include user data

* fix for qr scaner
This commit is contained in:
Serhii
2025-01-24 20:05:08 +02:00
committed by GitHub
parent c88809133f
commit 4fe2be3c92
3 changed files with 19 additions and 16 deletions
@@ -58,6 +58,12 @@ class NodeForm extends StatelessWidget {
}
});
reaction((_) => nodeViewModel.path, (String path) {
if (path != _pathController.text) {
_pathController.text = path;
}
});
_addressController.addListener(() => nodeViewModel.address = _addressController.text);
_pathController.addListener(() => nodeViewModel.path = _pathController.text);
_portController.addListener(() => nodeViewModel.port = _portController.text);