summaryrefslogtreecommitdiffstats
path: root/lib/presentation/screens/home/home.dart
diff options
context:
space:
mode:
authorLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-20 10:05:49 -0300
committerLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-20 10:05:54 -0300
commitae9ad191316ea506633c19975a7eb2861e8d17ec (patch)
tree06aacd5b86909c3e88f3cbbd1c27fd8a69bf2dea /lib/presentation/screens/home/home.dart
parent1b84d8f00f7dcd233feffde55e02c865dcdf53f1 (diff)
Refactor: env variables.
Original from: Dominik Wawrzonek <dwawrzonek@ics.com> Bug-AGL: SPEC-4971 Change-Id: I95f23d4f475aa7db82b6d34f2fc62e9f10092a75 Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'lib/presentation/screens/home/home.dart')
-rw-r--r--lib/presentation/screens/home/home.dart6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/presentation/screens/home/home.dart b/lib/presentation/screens/home/home.dart
index 41f6895..9719f8f 100644
--- a/lib/presentation/screens/home/home.dart
+++ b/lib/presentation/screens/home/home.dart
@@ -31,9 +31,9 @@ class HomeScreenState extends ConsumerState<HomeScreen> {
) {
return Consumer(builder: (context, ref, child) {
final state = ref.read(appProvider);
- const disableBkgAnimation = bool.fromEnvironment('DISABLE_BKG_ANIMATION');
- if(disableBkgAnimation)
- print('Background animation: disabled');
+ if (disableBkgAnimation) {
+ debugPrint('Background animation: disabled');
+ }
return Scaffold(
key: homeScaffoldKey,
extendBody: true,