chore: update app version to 1.3.39+35, change build mode to release, and enhance role handling in authentication logic for improved user experience

This commit is contained in:
2025-12-14 16:26:35 +03:30
parent b057c8b69a
commit f9e09a17fe
9 changed files with 106 additions and 24 deletions

View File

@@ -869,11 +869,11 @@ class CreateInspectionBottomSheetLogic extends GetxController
hatchingTemperatureController.text;
submitInspectionResponse?.generalConditionHall?.drinkingWaterQuality =
waterQuality.value;
submitInspectionResponse?.casualties?.abnormalLosses = int.parse(
abnormalLossesController.text,
submitInspectionResponse?.casualties?.abnormalLosses = int.tryParse(
abnormalLossesController.text.clearComma,
);
submitInspectionResponse?.casualties?.normalLosses = int.parse(
normalLossesController.text,
submitInspectionResponse?.casualties?.normalLosses = int.tryParse(
normalLossesController.text.clearComma,
);
if (isOthercauseOfUnusualCasualties.value) {
@@ -926,13 +926,13 @@ class CreateInspectionBottomSheetLogic extends GetxController
submitInspectionResponse?.infrastructureEnergy?.additionalNotes =
additionalNotesController.text;
submitInspectionResponse?.hr?.numberEmployed = int.parse(
submitInspectionResponse?.hr?.numberEmployed = int.tryParse(
employedWorkersCountController.text.clearComma,
);
submitInspectionResponse?.hr?.numberIndigenous = int.parse(
submitInspectionResponse?.hr?.numberIndigenous = int.tryParse(
nativeWorkersCountController.text.clearComma,
);
submitInspectionResponse?.hr?.numberNonIndigenous = int.parse(
submitInspectionResponse?.hr?.numberNonIndigenous = int.tryParse(
nonNativeWorkersCountController.text.clearComma,
);