Skip to content

Commit

Permalink
[#7] Rename the app class
Browse files Browse the repository at this point in the history
  • Loading branch information
Thieurom committed Aug 11, 2023
1 parent cc6b2a7 commit dda7767
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion integration_test/utils/test_util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class TestUtil {
/// localization, routes, etc)
static Widget pumpWidgetWithRealApp(String initialRoute) {
_initDependencies();
return MyApp();
return App();
}

/// We normally use this function to test a specific [widget] without
Expand Down
6 changes: 3 additions & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ void main() async {
await FlutterConfig.loadEnvVariables();
runApp(
ProviderScope(
child: MyApp(),
child: App(),
),
);
}

const routePathSplashScreen = '/';

class MyApp extends StatelessWidget {
MyApp({Key? key}) : super(key: key);
class App extends StatelessWidget {
App({Key? key}) : super(key: key);

final GoRouter _router = GoRouter(
routes: <GoRoute>[
Expand Down

0 comments on commit dda7767

Please sign in to comment.