Skip to content

Commit

Permalink
πŸ’„ Fix row overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
redDwarf03 committed Jun 17, 2024
1 parent 6067092 commit 2dd8281
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/ui/util/responsive.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/// SPDX-License-Identifier: AGPL-3.0-or-later
// Flutter imports:
import 'package:aewallet/ui/widgets/components/window_size.dart';
import 'package:flutter/material.dart';

class Responsive extends StatelessWidget {
Expand Down Expand Up @@ -37,10 +38,6 @@ class Responsive extends StatelessWidget {
}

static double drawerWidth(BuildContext context) {
if (Responsive.isDesktop(context)) {
return MediaQuery.of(context).size.width * 0.3;
} else {
return MediaQuery.of(context).size.width * 0.85;
}
return WindowSize().idealSize.width * 0.60;
}
}

0 comments on commit 2dd8281

Please sign in to comment.