diff --git a/src/WorkFlowCheck.MAUI/Helper/SystemHelper.cs b/src/WorkFlowCheck.MAUI/Helper/SystemHelper.cs index ef2c97f..8c5683e 100644 --- a/src/WorkFlowCheck.MAUI/Helper/SystemHelper.cs +++ b/src/WorkFlowCheck.MAUI/Helper/SystemHelper.cs @@ -19,7 +19,7 @@ namespace WorkFlowCheck.MAUI.Helper public static string DatabaseName = ""; public static bool Syncronised = false; public static UserDTO SystemUserDTO; - public static string ProgramVersion = "v1.1.036"; + public static string ProgramVersion = "v1.1.038"; #if DEBUG //public static string ApiBaseUrl = $"http://10.0.2.2:59027/"; diff --git a/src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListWorkPage.xaml.cs b/src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListWorkPage.xaml.cs index 34cb585..537d61d 100644 --- a/src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListWorkPage.xaml.cs +++ b/src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListWorkPage.xaml.cs @@ -124,11 +124,11 @@ public partial class CheckListWorkPage : ContentPage if (checkListRowDTO != null) { - if (checkListRowDTO.AnswerYes == true) + if (checkListRowCS.AnswerYes == true) { checkListRowDTO.Answer = "Igen"; } - if (checkListRowDTO.AnswerNo == true) + if (checkListRowCS.AnswerNo == true) { checkListRowDTO.Answer = "Nem"; } @@ -274,12 +274,12 @@ public class BindableRadioButton : RadioButton } private void OnCheckedChangedInternal(object sender, CheckedChangedEventArgs e) { - if (e.Value && BindingContext is CheckListRowDTO dto) + if (e.Value && BindingContext is CheckListRowCS checkListRowCS) { if (Value?.ToString() == "Igen") - dto.Answer = "Igen"; + checkListRowCS.Answer = "Igen"; else if (Value?.ToString() == "Nem") - dto.Answer = "Nem"; + checkListRowCS.Answer = "Nem"; } } @@ -287,12 +287,12 @@ public class BindableRadioButton : RadioButton { base.OnBindingContextChanged(); - if (BindingContext is CheckListRowDTO dto) + if (BindingContext is CheckListRowCS checkListRowCS) { if (Value?.ToString() == "Igen") - IsChecked = dto.Answer == "Igen"; + IsChecked = checkListRowCS.Answer == "Igen"; else if (Value?.ToString() == "Nem") - IsChecked = dto.Answer == "Nem"; + IsChecked = checkListRowCS.Answer == "Nem"; } } }