Skip to content

Commit

Permalink
fix: 🐛 Disable LitStarfieldContainer because of ImpellerValidationBre…
Browse files Browse the repository at this point in the history
…ak error
  • Loading branch information
redDwarf03 committed Jul 19, 2024
1 parent 04a16a2 commit 9a03078
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion lib/ui/views/authenticate/auto_lock_guard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/localizations.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_vibrate/flutter_vibrate.dart';
import 'package:lit_starfield/lit_starfield.dart';
import 'package:logging/logging.dart';

part 'components/lock_mask_screen.dart';
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/views/authenticate/components/lock_mask_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ class LockMask extends StatelessWidget {
),
),
),
const LitStarfieldContainer(
/*const LitStarfieldContainer(
backgroundDecoration: BoxDecoration(
color: Colors.transparent,
),
),
),*/
Image.asset(
'${ArchethicTheme.assetsFolder}logo_crystal.png',
width: 200,
Expand Down
10 changes: 6 additions & 4 deletions lib/ui/views/intro/layouts/intro_welcome.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import 'package:flutter_gen/gen_l10n/localizations.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:go_router/go_router.dart';
import 'package:lit_starfield/lit_starfield.dart';

import 'package:material_symbols_icons/symbols.dart';

class IntroWelcome extends ConsumerStatefulWidget {
Expand Down Expand Up @@ -85,8 +85,10 @@ class _IntroWelcomeState extends ConsumerState<IntroWelcome>

@override
Widget getSheetContent(BuildContext context, WidgetRef ref) {
return Stack(
return const Stack(
children: [
// TODO(reddwarf03): Follow https://github.com/flutter/flutter/issues/128885
/*
Opacity(
opacity: 0.8,
child: SizedBox(
Expand Down Expand Up @@ -116,8 +118,8 @@ class _IntroWelcomeState extends ConsumerState<IntroWelcome>
),
),
),
),
const _Main(),
),*/
_Main(),
],
);
}
Expand Down
6 changes: 2 additions & 4 deletions lib/ui/widgets/components/dialog.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/// SPDX-License-Identifier: AGPL-3.0-or-later
import 'package:aewallet/application/settings/settings.dart';
import 'package:aewallet/ui/themes/archethic_theme.dart';
import 'package:aewallet/ui/themes/archethic_theme_base.dart';
import 'package:aewallet/ui/themes/styles.dart';
import 'package:aewallet/ui/widgets/components/app_button.dart';
import 'package:aewallet/util/get_it_instance.dart';
Expand All @@ -14,7 +13,6 @@ import 'package:flutter_gen/gen_l10n/localizations.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_vibrate/flutter_vibrate.dart';
import 'package:go_router/go_router.dart';
import 'package:lit_starfield/lit_starfield.dart';

class AppDialogs {
static Future showConfirmDialog(
Expand Down Expand Up @@ -248,7 +246,7 @@ class AnimationLoadingOverlay extends ModalRoute<void> {
),
),
),
Opacity(
/*Opacity(
opacity: 0.8,
child: LitStarfieldContainer(
velocity: 0.2,
Expand All @@ -271,7 +269,7 @@ class AnimationLoadingOverlay extends ModalRoute<void> {
color: Colors.transparent,
),
),
),
),*/
Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Expand Down

0 comments on commit 9a03078

Please sign in to comment.