aboutsummaryrefslogtreecommitdiffstats
path: root/lib/main.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/main.dart')
-rw-r--r--lib/main.dart9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/main.dart b/lib/main.dart
index f5ea0f7..455f54b 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -2,17 +2,14 @@ import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter_homescreen/homescreen.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
-import 'package:flutter_homescreen/vehicle-signals/viss_config.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
- HttpClient client = await initializeClient();
- runApp(ProviderScope(child: MyApp(client: client)));
+ runApp(ProviderScope(child: MyApp()));
}
class MyApp extends ConsumerWidget {
- MyApp({Key? key, required this.client}) : super(key: key);
- final HttpClient client;
+ MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.
@override
@@ -32,7 +29,7 @@ class MyApp extends ConsumerWidget {
color: navBarIconColor,
))),
),
- home: Homescreen(client: client),
+ home: Homescreen(),
);
}
}