Skip to content

Commit

Permalink
FIX - .env dir and load
Browse files Browse the repository at this point in the history
  • Loading branch information
GalletaOreo98 committed Apr 29, 2023
1 parent de446e9 commit 2d24d7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lain_chikita/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'functions/encryption_functions.dart';
import 'global_vars.dart' as global;

Future<void> main() async {
await dotenv.load();
await dotenv.load(fileName: '.env');
SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: []);
runApp(const MyApp());
}
Expand Down
1 change: 1 addition & 0 deletions lain_chikita/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ flutter:
- assets/images/background.png
- assets/images/accessories/sunglasses.png
- assets/audio/btn_sound.mp3
- .env

# To add assets to your application, add an assets section, like this:
# assets:
Expand Down

0 comments on commit 2d24d7c

Please sign in to comment.