1.0.4
Keine Code-Optimierung verwenden StaticResource "TransparentColor" hinzugefügt
This commit is contained in:
@@ -10,28 +10,16 @@ internal class Stunde : ObservableObject {
|
||||
public DateTime Date { get; set; }
|
||||
|
||||
//Default-Werte zum Testen
|
||||
public static string apiKey = Preferences.Default.Get("apiKey", "M3xraUdoSktrdGowaUZoaStJbDJLWmIyTFhYeDh8aHR0cDovL2hvdXJzLmRhdW5pLm1pbmUubnU6ODEvYXBwYXBp");
|
||||
public static int EmployeeId = Preferences.Default.Get("employeeId", 3);
|
||||
public static string name = Preferences.Default.Get("name", "Vorname");
|
||||
public static string surname = Preferences.Default.Get("surname", "Nachname");
|
||||
public static string apiUrl = Preferences.Default.Get("apiUrl", "http://hours.dauni.mine.nu:81/appapi");
|
||||
public static string apiKey = Preferences.Default.Get("apiKey", "");
|
||||
public static int EmployeeId = Preferences.Default.Get("employeeId", 0);
|
||||
public static string name = Preferences.Default.Get("name", "");
|
||||
public static string surname = Preferences.Default.Get("surname", "");
|
||||
public static string apiUrl = Preferences.Default.Get("apiUrl", "");
|
||||
|
||||
|
||||
|
||||
public static async Task<Hours> LoadData() {
|
||||
////Preferences.Default.Set("apiKey", "NXw5NDdCcEdLMVNDZTRENmphWG02MjlyeFFDenN8aHR0cDovL2hvdXJzLmRhdW5pLm1pbmUubnU6ODEvYXBwYXBp");
|
||||
//Preferences.Default.Set("apiKey", "NXw5NDdCcEdLMVNDZTRENmphWG02MjlyeFFDenN8aHR0cHM6Ly9zdHVuZGVuLmpkLWxhbmEtdGlzZW5zLml0L2FwcGFwaQ==");//Online
|
||||
//Preferences.Default.Set("name", "Johannes");
|
||||
//Preferences.Default.Set("surname", "Fink");
|
||||
//Preferences.Default.Set("EmployeeId", 5);
|
||||
////Preferences.Default.Set("apiUrl", "http://hours.dauni.mine.nu:81/appapi");
|
||||
//Preferences.Default.Set("apiUrl", "https://stunden.jd-lana-tisens.it/appapi");
|
||||
|
||||
apiKey = Preferences.Default.Get("apiKey", "NXw5NDdCcEdLMVNDZTRENmphWG02MjlyeFFDenN8aHR0cDovL2hvdXJzLmRhdW5pLm1pbmUubnU6ODEvYXBwYXBp");
|
||||
EmployeeId = Preferences.Default.Get("employeeId", 5);
|
||||
name = Preferences.Default.Get("name", "Johannes");
|
||||
surname = Preferences.Default.Get("surname", "Fink");
|
||||
apiUrl = Preferences.Default.Get("apiUrl", "http://hours.dauni.mine.nu:81/appapi");
|
||||
|
||||
|
||||
if (string.IsNullOrEmpty(apiKey)) {
|
||||
|
||||
Reference in New Issue
Block a user