Add action to pull services json
This commit is contained in:
parent
56879f6c14
commit
c0eef32f56
3 changed files with 31 additions and 1 deletions
|
@ -1,6 +1,11 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:zontreck/Constants.dart';
|
||||
import 'package:zontreck/Settings.dart';
|
||||
import 'package:zontreck/pages/Main.dart';
|
||||
|
||||
void main() {
|
||||
void main() async {
|
||||
Settings settings = Settings();
|
||||
var services = await Constants.pullServicesJson();
|
||||
settings.setServices(services);
|
||||
runApp(new MainPage());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue