Feature: dismissible tasks #1
+10
-2
@@ -4,6 +4,8 @@ import 'model/repositories/local_repository.dart';
|
||||
import 'pages/task_edit_page.dart';
|
||||
import 'pages/task_overview_page.dart';
|
||||
import 'service/controller_scope.dart';
|
||||
import 'service/controllers/alarm_controller.dart';
|
||||
import 'service/controllers/location_controller.dart';
|
||||
import 'service/controllers/task_controller.dart';
|
||||
|
||||
void main() async {
|
||||
@@ -13,8 +15,14 @@ void main() async {
|
||||
|
||||
runApp(
|
||||
ControllerScope(
|
||||
controller: TaskController(repository),
|
||||
child: const MainApp(),
|
||||
controller: LocationController(repository),
|
||||
child: ControllerScope(
|
||||
controller: AlarmController(repository),
|
||||
child: ControllerScope(
|
||||
controller: TaskController(repository),
|
||||
child: const MainApp(),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user