fix: formatting
This commit is contained in:
@@ -13,7 +13,6 @@ class KoolTabApp extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _KoolTabAppState extends State<KoolTabApp> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp.router(
|
||||
|
||||
@@ -7,10 +7,7 @@ import '../viewmodels/product_list_view_model.dart';
|
||||
class AppBootstrap extends StatefulWidget {
|
||||
final Widget child;
|
||||
|
||||
const AppBootstrap({
|
||||
super.key,
|
||||
required this.child,
|
||||
});
|
||||
const AppBootstrap({super.key, required this.child});
|
||||
|
||||
@override
|
||||
State<AppBootstrap> createState() => _AppBootstrapState();
|
||||
@@ -33,4 +30,4 @@ class _AppBootstrapState extends State<AppBootstrap> {
|
||||
Widget build(BuildContext context) {
|
||||
return widget.child;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-4
@@ -32,10 +32,7 @@ GoRouter createAppRouter(PinLockViewModel pinLockViewModel) {
|
||||
return null;
|
||||
},
|
||||
routes: [
|
||||
GoRoute(
|
||||
path: '/',
|
||||
redirect: (context, state) => '/bar'
|
||||
),
|
||||
GoRoute(path: '/', redirect: (context, state) => '/bar'),
|
||||
GoRoute(
|
||||
path: '/lock',
|
||||
builder: (context, state) => PinEntryView(
|
||||
|
||||
Reference in New Issue
Block a user