Skip to content

Commit

Permalink
Radio Button Fix for Synergy Env (#268)
Browse files Browse the repository at this point in the history
Signed-off-by: Aviral Mishra <aviral.mishra@ad.infosys.com>
Co-authored-by: Aviral Mishra <aviral.mishra@ad.infosys.com>
  • Loading branch information
aviralmishra3 and Aviral Mishra authored Feb 8, 2024
1 parent 091a86c commit 516caba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/ui/process_ui/widgets/radio_button_control.dart
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class _RadioFormFieldState extends State<RadioButtonControl> {
context
.read<RegistrationTaskProvider>()
.addSimpleTypeDemographicField(widget.field.id ?? "", value!, code);
context.read<GlobalProvider>().fieldInputValue[widget.field.id!] = value;
});
setState(() {
selectedOption = value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class _BiometricCaptureControlPortraitState
borderRadius: BorderRadius.circular(50)),
height: 40,
child: Text(
"${biometricAttributeData.qualityPercentage}%",
"${biometricAttributeData.qualityPercentage.toInt()}%",
style: TextStyle(
fontSize: 20,
color: pureWhite,
Expand Down

0 comments on commit 516caba

Please sign in to comment.