Remove constants

This commit is contained in:
Godwin Asuquo 2023-01-31 15:30:46 +02:00
parent 4902dc8dd4
commit 69651b3eb4
2 changed files with 2 additions and 5 deletions

View file

@ -1,4 +1,4 @@
import 'package:cake_wallet/utils/constants.dart';
import 'package:cake_wallet/utils/responsive_layout_util.dart';
import 'package:flutter/cupertino.dart';
class NavBar extends StatelessWidget implements ObstructingPreferredSizeWidget {
@ -63,7 +63,7 @@ class NavBar extends StatelessWidget implements ObstructingPreferredSizeWidget {
final paddingTop = pad / 2;
final _paddingBottom = (pad / 2);
if (MediaQuery.of(context).size.width > ConstValues.minimumDesktopWidth) {
if (!ResponsiveLayoutUtil.instance.isMobile(context)) {
return PreferredSize(
preferredSize: Size.fromHeight(height),
child: Row(

View file

@ -1,3 +0,0 @@
class ConstValues {
static const int minimumDesktopWidth = 900;
}