From d42900e8f67eb586c8f076b5f6648c1da6d2e87d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Szab=C3=B3?= Date: Sun, 29 Jun 2025 13:30:34 +0200 Subject: [PATCH] MOBILE BugFix --- src/WorkFlowCheck.MAUI/App.xaml.cs | 4 +- src/WorkFlowCheck.MAUI/Helper/SystemHelper.cs | 4 +- .../Pages/CheckList/CheckListWorkPage.xaml | 2 +- .../Pages/CheckList/CheckListWorkPage.xaml.cs | 50 +++++++++---------- 4 files changed, 29 insertions(+), 31 deletions(-) diff --git a/src/WorkFlowCheck.MAUI/App.xaml.cs b/src/WorkFlowCheck.MAUI/App.xaml.cs index dd2bd17..03f50f6 100644 --- a/src/WorkFlowCheck.MAUI/App.xaml.cs +++ b/src/WorkFlowCheck.MAUI/App.xaml.cs @@ -29,14 +29,14 @@ namespace WorkFlowCheck.MAUI _dbContext.Database.EnsureDeleted(); // Adatbázis törlése _dbContext.Database.EnsureCreated(); // Új adatbázis létrehozása - StartBackgroundTask(); + //StartBackgroundTask(); MainPage = new AppShell(); //MainPage = new NavigationPage(new MainPage(serviceProvider.GetRequiredService())); } protected async override void OnResume() { - StartBackgroundTask(); + //StartBackgroundTask(); base.OnResume(); var isLogged = await SecureStorage.Default.GetAsync("WFCUser"); if (isLogged == null) diff --git a/src/WorkFlowCheck.MAUI/Helper/SystemHelper.cs b/src/WorkFlowCheck.MAUI/Helper/SystemHelper.cs index 9d3c43b..93923ae 100644 --- a/src/WorkFlowCheck.MAUI/Helper/SystemHelper.cs +++ b/src/WorkFlowCheck.MAUI/Helper/SystemHelper.cs @@ -22,8 +22,8 @@ namespace WorkFlowCheck.MAUI.Helper public static string ProgramVersion = "v1.1.030"; #if DEBUG - public static string ApiBaseUrl = $"http://10.0.2.2:59027/"; - //public static string ApiBaseUrl = $"https://dev.wfcapi.nuvolar.hu/"; + //public static string ApiBaseUrl = $"http://10.0.2.2:59027/"; + public static string ApiBaseUrl = $"https://dev.wfcapi.nuvolar.hu/"; public static string ApiKey = $"RUJeLSpSMzVASUdaRCEzUyYxRSE0VyFISFRSJC0zRzhLM1hCSDU="; #endif diff --git a/src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListWorkPage.xaml b/src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListWorkPage.xaml index 9bb60ed..7d968db 100644 --- a/src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListWorkPage.xaml +++ b/src/WorkFlowCheck.MAUI/Pages/CheckList/CheckListWorkPage.xaml @@ -137,7 +137,7 @@ Source="{Binding Photo, Converter={StaticResource ByteArrayToImageSourceConverter}}" />