Keine Code-Optimierung verwenden
StaticResource "TransparentColor" hinzugefügt
This commit is contained in:
2024-10-14 09:54:06 +02:00
parent 5f2bf8b385
commit e4d3fb2d82
14 changed files with 183 additions and 132 deletions

View File

@@ -1,9 +1,10 @@
using Microsoft.Extensions.Logging;
using Microsoft.Maui.LifecycleEvents;
using ZXing.Net.Maui.Controls;
using ZXing.Net.Maui.Controls;
namespace Jugenddienst_Stunden;
namespace Jugenddienst_Stunden;
/// <summary>
/// Das Hauptprogramm.
/// </summary>
public static class MauiProgram {
public static MauiApp CreateMauiApp() {
var builder = MauiApp.CreateBuilder();
@@ -15,9 +16,19 @@ public static class MauiProgram {
})
.UseBarcodeReader();
//Preferences.Default.Set("apiKey", "M3xneWlWNG85TmNIcmo1NnpxWkxVYS9JMDBFRlV8aHR0cHM6Ly9zdHVuZGVuLmpkLWxhbmEtdGlzZW5zLml0L2FwcGFwaQ==");
//Preferences.Default.Set("name", "Default: Lea");
//Preferences.Default.Set("surname", "Mair");
//Preferences.Default.Set("EmployeeId", 3);
//Preferences.Default.Set("apiUrl", "https://stunden.jd-lana-tisens.it/appapi");
#if DEBUG
Preferences.Default.Set("apiKey", "M3xneWlWNG85TmNIcmo1NnpxWkxVYS9JMDBFRlV8aHR0cDovL2hvdXJzLmRhdW5pLm1pbmUubnU6ODEvYXBwYXBp");
Preferences.Default.Set("name", "Testserver: Lea");
Preferences.Default.Set("surname", "Mair");
Preferences.Default.Set("EmployeeId", 3);
Preferences.Default.Set("apiUrl", "http://hours.dauni.mine.nu:81/appapi");
builder.Logging.AddDebug();
#endif