Skip to content

Enhancement: Reload the loaded calendar on app start #5

Description

@logomancer

Absent a regular update feature, it might be a good idea to have the calendar load when the app is started. If there's no URL to load, the app could then take them to the URL screen to enter a calendar URL. If the problem is that there's no network instead and we already have a calendar that just needs updating, the app could show the old version of the calendar. Otherwise, the app shows an error.

The logic pseudocode for this would be something like the following:

OnAppStart() {
if (URL != null} {
if(loadCalendar() != null) {
ShowNewCalendar();
}
else if (loadCalendar() == null && OldCalendar != null) {
ShowOldCalendar();
}
else {
Error("Could not load calendar.");
}
}
else {
LoadSettingsScreen();
}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions