1
0
mirror of https://github.com/XFox111/GUTSchedule.git synced 2026-04-22 06:58:01 +03:00

- Fixed SSL error on Android

- Turned back on anonymous schedule export
This commit is contained in:
2021-10-06 17:22:00 +03:00
parent dc8dc2af6a
commit 425579fe66
11 changed files with 50 additions and 58 deletions
@@ -61,7 +61,7 @@ namespace GUTSchedule.Droid.Activities
AssignVariables();
/*faculty.SetList(this, Faculties.Select(i => i.name));
faculty.SetList(this, Faculties.Select(i => i.name));
int s = Faculties.FindIndex(i => i.id == prefs.GetString("Faculty", "-123"));
faculty.SetSelection(s == -1 ? 0 : s);
@@ -70,7 +70,7 @@ namespace GUTSchedule.Droid.Activities
// P.S. Fuck Android
await Task.Delay(100);
UpdateGroupsList(); */ // TODO: Temp
UpdateGroupsList();
AddEvents();
@@ -85,14 +85,14 @@ namespace GUTSchedule.Droid.Activities
reminder.SetSelection(prefs.GetInt("Reminder", 0));
calendar.SetList(this, Calendar.Calendars.Select(i => i.Name));
int s = Calendar.Calendars.FindIndex(i => i.Id == prefs.GetString("Calendar", "-123"));
s = Calendar.Calendars.FindIndex(i => i.Id == prefs.GetString("Calendar", "-123"));
calendar.SetSelection(s == -1 ? 0 : s);
end.Text = endDate.ToShortDateString();
start.Text = startDate.ToShortDateString();
groupTitle.Checked = prefs.GetBoolean("AddGroupToHeader", false);
authorize.Checked = true;// prefs.GetBoolean("Authorize", true); // TODO: Temp
authorize.Checked = prefs.GetBoolean("Authorize", true);
email.Text = prefs.GetString("email", "");
password.Text = prefs.GetString("password", "");