From 1ed75cd2577f4c8a391c0efeda61f634efb539cd Mon Sep 17 00:00:00 2001 From: w-R <953969641@qq.com> Date: Mon, 14 Mar 2022 14:32:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/community/headlines/article_list.dart | 1 - lib/community/headlines/article_page.dart | 4 ++-- lib/main_page.dart | 2 +- lib/setting/about_page.dart | 1 + lib/view_widget/update_dialog.dart | 1 - 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/community/headlines/article_list.dart b/lib/community/headlines/article_list.dart index 3c252710..a7644f4c 100644 --- a/lib/community/headlines/article_list.dart +++ b/lib/community/headlines/article_list.dart @@ -23,7 +23,6 @@ class ArticleList extends StatefulWidget { class _ArticleList extends State { ApiService apiService; - int pageNum = 0; @override void initState() { diff --git a/lib/community/headlines/article_page.dart b/lib/community/headlines/article_page.dart index f9eb281e..9412717d 100644 --- a/lib/community/headlines/article_page.dart +++ b/lib/community/headlines/article_page.dart @@ -180,8 +180,8 @@ class _ArticlePage extends State child: Container( child: SmartRefresher( controller: refreshController, - enablePullDown: true, - enablePullUp: true, + enablePullDown: false, + enablePullUp:true, header: MyHeader(), footer: CustomFooter( builder: (context, mode) { diff --git a/lib/main_page.dart b/lib/main_page.dart index ac6eff1c..c2922ea6 100644 --- a/lib/main_page.dart +++ b/lib/main_page.dart @@ -106,7 +106,7 @@ class _MainPage extends State with WidgetsBindingObserver { // MainHomePage(), UnionPage(), // (Theme.of(context).platform == TargetPlatform.android) ? OrderPage() :CommunityPage(), - OrderPage(), + CommunityPage(), MinePage(), ]; diff --git a/lib/setting/about_page.dart b/lib/setting/about_page.dart index c19e435e..b8eaa369 100644 --- a/lib/setting/about_page.dart +++ b/lib/setting/about_page.dart @@ -101,6 +101,7 @@ class _AboutPage extends State { alignment: Alignment.center); } }); + // showAlertDialog(version); }, ), GestureDetector( diff --git a/lib/view_widget/update_dialog.dart b/lib/view_widget/update_dialog.dart index 3102e1b5..422c8513 100644 --- a/lib/view_widget/update_dialog.dart +++ b/lib/view_widget/update_dialog.dart @@ -94,7 +94,6 @@ class _UpdateDialog extends State { child: InkWell( onTap: () { Bridge.toAppStore().then((value) { - }); Navigator.of(context).pop(); },