Skip to content
Snippets Groups Projects
Commit 28a87489 authored by Maximilian Betz's avatar Maximilian Betz
Browse files

straight forward implementation done, Edge cases are TODOs

parent 3a968541
No related branches found
No related tags found
No related merge requests found
......@@ -63,8 +63,6 @@ class _MyHomePageState extends State<Configuration> {
event.currentEvent.endDate = isoDate;
configuration.initialized = true;
//debugPrint (configuration.toMap().toString(), wrapWidth: 512);
HapticFeedback.vibrate();
//TODO: display success user feedback
//TODO: store complete "configuration"
......
......@@ -40,11 +40,13 @@ Future<void> loadConfiguration() async {
var database = DatabaseInstance();
await database.connect(); //Do once at start of APP!
//TODO: there should be a loding screen until configuration is loaded and database connection is established.
}
void main() {
loadConfiguration();
EventStoreInstance events = EventStoreInstance();
final ConfigurationStoreInstance configuration = ConfigurationStoreInstance();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment