mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-23 20:49:26 +01:00
Merge branch 'fix_720_wide' into 'main'
fix: make fluffy usable at 720 px wide Closes #622 See merge request famedly/fluffychat!771
This commit is contained in:
commit
4d9fdded4a
@ -1,7 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:fluffychat/config/themes.dart';
|
||||
|
||||
class TwoColumnLayout extends StatelessWidget {
|
||||
final Widget mainView;
|
||||
final Widget sideView;
|
||||
@ -13,9 +11,6 @@ class TwoColumnLayout extends StatelessWidget {
|
||||
}) : super(key: key);
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
if (MediaQuery.of(context).size.width <= FluffyThemes.columnWidth * 2) {
|
||||
return mainView;
|
||||
}
|
||||
return ScaffoldMessenger(
|
||||
child: Scaffold(
|
||||
body: Row(
|
||||
|
Loading…
Reference in New Issue
Block a user