fix: Minor regressions
This commit is contained in:
parent
2d3c8eed84
commit
4509ace93b
6 changed files with 15 additions and 13 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import 'package:fluffychat/config/app_config.dart';
|
||||
import 'package:fluffychat/config/themes.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:vrouter/vrouter.dart';
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ class SideViewLayout extends StatelessWidget {
|
|||
final hideSideView = currentUrl.split('/').length == 4;
|
||||
return sideView == null
|
||||
? mainView
|
||||
: MediaQuery.of(context).size.width < AppConfig.columnWidth * 3 &&
|
||||
: MediaQuery.of(context).size.width < FluffyThemes.columnWidth * 3 &&
|
||||
!hideSideView
|
||||
? sideView
|
||||
: Row(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue