mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-18 02:42:34 +01:00
Fix web version
This commit is contained in:
parent
4dd31d961a
commit
a611e2a141
@ -23,7 +23,7 @@ class AdaptivePageLayout extends StatelessWidget {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return OrientationBuilder(builder: (context, orientation) {
|
return OrientationBuilder(builder: (context, orientation) {
|
||||||
if (orientation == Orientation.portrait || columnMode(context)) {
|
if (orientation == Orientation.portrait || !columnMode(context)) {
|
||||||
if (primaryPage == FocusPage.FIRST) {
|
if (primaryPage == FocusPage.FIRST) {
|
||||||
return firstScaffold;
|
return firstScaffold;
|
||||||
} else {
|
} else {
|
||||||
|
@ -89,6 +89,7 @@ class _ChatListState extends State<ChatList> {
|
|||||||
onPressed: () => setState(() => searchMode = false),
|
onPressed: () => setState(() => searchMode = false),
|
||||||
)
|
)
|
||||||
: null,
|
: null,
|
||||||
|
automaticallyImplyLeading: false,
|
||||||
actions: searchMode
|
actions: searchMode
|
||||||
? null
|
? null
|
||||||
: <Widget>[
|
: <Widget>[
|
||||||
|
Loading…
Reference in New Issue
Block a user