mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-22 10:04:09 +01:00
fix: When to show third column
This commit is contained in:
parent
93a6726aeb
commit
462baef9b2
@ -15,7 +15,7 @@ class SideViewLayout extends StatelessWidget {
|
|||||||
final hideSideView = currentUrl.split('/').length == 4;
|
final hideSideView = currentUrl.split('/').length == 4;
|
||||||
return sideView == null
|
return sideView == null
|
||||||
? mainView
|
? mainView
|
||||||
: MediaQuery.of(context).size.width < FluffyThemes.columnWidth * 3 &&
|
: MediaQuery.of(context).size.width < FluffyThemes.columnWidth * 3.5 &&
|
||||||
!hideSideView
|
!hideSideView
|
||||||
? sideView
|
? sideView
|
||||||
: Row(
|
: Row(
|
||||||
|
Loading…
Reference in New Issue
Block a user