ApiKey Testing
This commit is contained in:
@@ -9,8 +9,17 @@ using System.Text;
|
|||||||
namespace Jugenddienst_Stunden.Models {
|
namespace Jugenddienst_Stunden.Models {
|
||||||
internal class Stunde : ObservableObject {
|
internal class Stunde : ObservableObject {
|
||||||
|
|
||||||
|
//Default-Werte zum Testen
|
||||||
|
|
||||||
//Katharina
|
//Katharina
|
||||||
public static string apiKey = Preferences.Default.Get("apiKey", "MTAyfEJZZnB1L3VwcnhoVms0dDlLZENPZWtUVy85b3xodHRwOi8vaG91cnMuZGF1bmkubWluZS5udTo4MS9hcHBhcGk=");
|
//public static string apiKey = Preferences.Default.Get("apiKey", "MTAyfEJZZnB1L3VwcnhoVms0dDlLZENPZWtUVy85b3xodHRwOi8vaG91cnMuZGF1bmkubWluZS5udTo4MS9hcHBhcGk=");
|
||||||
|
//public static string name = Preferences.Default.Get("name", "Katharina");
|
||||||
|
//public static string surname = Preferences.Default.Get("surname", "Weger");
|
||||||
|
|
||||||
|
//Christine Feichter
|
||||||
|
public static string apiKey = Preferences.Default.Get("apiKey", "MTQzfEFlMVRjQXdZMnI4RmpxZ0FSY3A0VEN2bVZYVXxodHRwOi8vaG91cnMuZGF1bmkubWluZS5udTo4MS9hcHBhcGk=");
|
||||||
|
public static string name = Preferences.Default.Get("name", "Christine");
|
||||||
|
public static string surname = Preferences.Default.Get("surname", "Feichter");
|
||||||
|
|
||||||
//Damian
|
//Damian
|
||||||
//public static string apiKey = Preferences.Default.Get("apiKey", "MTU0fGpkQUNYTGkvcjMvVk4rNkMyK0dDQkJmMkFwVXxodHRwOi8vaG91cnMuZGF1bmkubWluZS5udTo4MS9hcHBhcGk=");
|
//public static string apiKey = Preferences.Default.Get("apiKey", "MTU0fGpkQUNYTGkvcjMvVk4rNkMyK0dDQkJmMkFwVXxodHRwOi8vaG91cnMuZGF1bmkubWluZS5udTo4MS9hcHBhcGk=");
|
||||||
@@ -21,9 +30,17 @@ namespace Jugenddienst_Stunden.Models {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public static async Task<Hours> LoadData() {
|
||||||
|
|
||||||
public static async Task<Hours> LoadData() {
|
//Temporär fix für virtuelle App
|
||||||
|
//apiKey = "MTAyfEJZZnB1L3VwcnhoVms0dDlLZENPZWtUVy85b3xodHRwOi8vaG91cnMuZGF1bmkubWluZS5udTo4MS9hcHBhcGk=";
|
||||||
|
//name = "Kathi";
|
||||||
|
//surname = "Wegi";
|
||||||
|
//Preferences.Default.Set("apiKey", apiKey);
|
||||||
|
//Preferences.Default.Set("name", name);
|
||||||
|
//Preferences.Default.Set("surname", surname);
|
||||||
|
|
||||||
|
|
||||||
Hours hours = new Hours();
|
Hours hours = new Hours();
|
||||||
|
|
||||||
if (Connectivity.Current.NetworkAccess == NetworkAccess.None) {
|
if (Connectivity.Current.NetworkAccess == NetworkAccess.None) {
|
||||||
|
|||||||
Reference in New Issue
Block a user