From 23389ef140eaa97458c69ed418ea97c65d359150 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Wed, 21 Jun 2023 23:29:12 +0800 Subject: [PATCH] fix mobile home page style --- flutter/lib/common/widgets/address_book.dart | 1 - flutter/lib/common/widgets/peer_tab_page.dart | 1 - flutter/lib/mobile/pages/connection_page.dart | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/flutter/lib/common/widgets/address_book.dart b/flutter/lib/common/widgets/address_book.dart index d6a7853c5..29270a349 100644 --- a/flutter/lib/common/widgets/address_book.dart +++ b/flutter/lib/common/widgets/address_book.dart @@ -125,7 +125,6 @@ class _AddressBookState extends State { ), ), ), - Divider(), _buildPeersViews() ], ); diff --git a/flutter/lib/common/widgets/peer_tab_page.dart b/flutter/lib/common/widgets/peer_tab_page.dart index ffdee99a9..f3289b8b3 100644 --- a/flutter/lib/common/widgets/peer_tab_page.dart +++ b/flutter/lib/common/widgets/peer_tab_page.dart @@ -98,7 +98,6 @@ class _PeerTabPageState extends State height: 28, child: Container( padding: isDesktop ? null : EdgeInsets.symmetric(horizontal: 2), - constraints: isDesktop ? null : kMobilePageConstraints, child: Row( crossAxisAlignment: CrossAxisAlignment.center, children: [ diff --git a/flutter/lib/mobile/pages/connection_page.dart b/flutter/lib/mobile/pages/connection_page.dart index 6fce887bf..5a581f0c7 100644 --- a/flutter/lib/mobile/pages/connection_page.dart +++ b/flutter/lib/mobile/pages/connection_page.dart @@ -173,7 +173,7 @@ class _ConnectionPageState extends State { ), ); return Align( - alignment: Alignment.topLeft, + alignment: Alignment.topCenter, child: Container(constraints: kMobilePageConstraints, child: w)); }