Skip to content

Commit

Permalink
merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmer committed Aug 21, 2024
1 parent 98536d5 commit 7b5bcb6
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
import '../../../l10n/app_localizations.dart';
import '../../../model/enums/introduction.dart';
import '../../../utils/riverpod/riverpod_providers/generated_providers/introduction_provider.dart';
import '../../../utils/riverpod/riverpod_providers/state_providers/app_constraints_notifier.dart';
import '../../../widgets/focused_item_as_overlay.dart';
import '../../add_token_manually_view/add_token_manually_view.dart';
import '../../settings_view/settings_view.dart';
Expand All @@ -39,11 +40,12 @@ class MainViewNavigationBar extends ConsumerWidget {
@override
Widget build(BuildContext context, WidgetRef ref) {
final introProv = ref.watch(introductionNotifierProvider);
final navWidth = appConstraints.maxWidth;
final navHeight = appConstraints.maxHeight * 0.10;
final constraints = ref.watch(appConstraintsNotifierProvider) ?? appConstraints;
final navWidth = constraints.maxWidth;
final navHeight = constraints.maxHeight * 0.10;
return SizedBox(
width: appConstraints.maxWidth,
height: appConstraints.maxHeight,
width: constraints.maxWidth,
height: constraints.maxHeight,
child: Column(
mainAxisAlignment: MainAxisAlignment.end,
children: [
Expand Down

0 comments on commit 7b5bcb6

Please sign in to comment.