1.0.7
Bessere Trennung manueller / automatischer Login Umstellung auf Sekunden wegen aktualisierter Hauptanwendung Umstellung auf Toasts bei Informationsmeldungen Abstände und Sichtbarkeiten vereinheitlicht Upgrade auf .NET9
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Jugenddienst_Stunden.Models;
|
||||
using CommunityToolkit.Maui;
|
||||
using Jugenddienst_Stunden.Models;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using ZXing.Net.Maui.Controls;
|
||||
|
||||
@@ -13,6 +14,8 @@ public static class MauiProgram {
|
||||
var builder = MauiApp.CreateBuilder();
|
||||
builder
|
||||
.UseMauiApp<App>()
|
||||
// Initialize the .NET MAUI Community Toolkit by adding the below line of code
|
||||
.UseMauiCommunityToolkit()
|
||||
.ConfigureFonts(fonts => {
|
||||
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
|
||||
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
|
||||
@@ -22,19 +25,11 @@ public static class MauiProgram {
|
||||
|
||||
#if DEBUG
|
||||
if (GlobalVar.ApiKey == null) {
|
||||
//Preferences.Default.Set("apiKey
|
||||
//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");
|
||||
//HoursBase HoursBase = new HoursBase();
|
||||
//HoursBase.tokendata = new TokenData("MTQxfHNkdFptQkNZTXlPT3ZyMHNBZDl0UnVxNExMRXxodHRwOi8vaG91cnMuZGF1bmkubWluZS5udTo4MS9hcHBhcGk=");
|
||||
GlobalVar.ApiKey = Preferences.Default.Get("apiKey", "MTQxfHNkdFptQkNZTXlPT3ZyMHNBZDl0UnVxNExMRXxodHRwOi8vaG91cnMuZGF1bmkubWluZS5udTo4MS9hcHBhcGk=");
|
||||
GlobalVar.Name = Preferences.Default.Get("name", "Testserver: Isabell");
|
||||
GlobalVar.Surname = Preferences.Default.Get("surname", "Biasi");
|
||||
GlobalVar.EmployeeId = Preferences.Default.Get("EmployeeId", 141);
|
||||
GlobalVar.ApiUrl = Preferences.Default.Get("apiUrl", "http://hours.dauni.mine.nu:81/appapi");
|
||||
GlobalVar.ApiUrl = Preferences.Default.Get("apiUrl", "https://hours.dauni.mine.nu/appapi");
|
||||
}
|
||||
builder.Logging.AddDebug();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user