mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-10 19:48:56 +03:30
Fix code error in select test result
This commit is contained in:
@@ -242,12 +242,16 @@ class _TestResultAddScreenState extends State<TestResultAddScreen> {
|
||||
fontSize: 5 * _deviceBlockSize,
|
||||
),
|
||||
),
|
||||
onPressed: () {
|
||||
onPressed: () async {
|
||||
print(
|
||||
"testCodeCTRL.text : ${testCodeCTRL.text}");
|
||||
print(
|
||||
"testTypeCTRL.text : ${testTypeCTRL.text}");
|
||||
if (testCodeCTRL.text != '') {
|
||||
Provider.of<TestResultsProvider>(
|
||||
context,
|
||||
listen: false,
|
||||
).testCode = testCodeCTRL.text;
|
||||
).testTypeId = testCodeCTRL.text;
|
||||
Navigator.pushNamed(
|
||||
context,
|
||||
Routes.formTestResultScreen,
|
||||
|
||||
Reference in New Issue
Block a user