File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
app/lib/presentation/ui/pages/login Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11import 'package:app/main/init.dart' ;
22import 'package:app/presentation/themes/app_themes.dart' ;
3+ import 'package:app/presentation/ui/custom/app_theme_switch.dart' ;
4+ import 'package:app/presentation/ui/custom/loading_screen.dart' ;
35import 'package:common/core/resource.dart' ;
46import 'package:domain/bloc/auth/auth_cubit.dart' ;
57import 'package:domain/services/auth_service.dart' ;
8+ import 'package:flutter/foundation.dart' ;
69import 'package:flutter/material.dart' ;
7- import 'package:app/presentation/ui/custom/app_theme_switch.dart' ;
8- import 'package:app/presentation/ui/custom/loading_screen.dart' ;
910import 'package:flutter_bloc/flutter_bloc.dart' ;
1011
1112import '../../custom/environment_selector.dart' ;
@@ -42,7 +43,9 @@ class LoginPage extends StatelessWidget {
4243 ),
4344 ),
4445 const SizedBox (height: 32 ),
45- EnvironmentSelector (),
46+ if (kDebugMode) ...[
47+ EnvironmentSelector (),
48+ ],
4649 ],
4750 ),
4851 ),
Original file line number Diff line number Diff line change @@ -29,4 +29,5 @@ migrate_working_dir/
2929.packages
3030build /
3131.flutter-plugins-dependencies
32+ .flutter-plugins
3233/.flutter-plugins
You can’t perform that action at this time.
0 commit comments