diff --git a/lib/common/Global.dart b/lib/common/Global.dart index b608dbe..10dc87c 100644 --- a/lib/common/Global.dart +++ b/lib/common/Global.dart @@ -111,8 +111,6 @@ class Global { ..maxCount = 100; var t = _prefs.getString("theme"); - print('theme'); - print(theme); if (t != null && t != '') { theme = t; } diff --git a/lib/routes/mainPage.dart b/lib/routes/mainPage.dart index d150d92..0c06295 100644 --- a/lib/routes/mainPage.dart +++ b/lib/routes/mainPage.dart @@ -29,9 +29,9 @@ class _MainPageState extends State { var r = await Api().version(); if (r.version != '') { - print(r.version); - print(Global.packageInfo.version); - print(haveNewVersion(r.version, Global.packageInfo.version)); + // print(r.version); + // print(Global.packageInfo.version); + // print(haveNewVersion(r.version, Global.packageInfo.version)); if (haveNewVersion(r.version, Global.packageInfo.version)) { return AppUpgradeInfo( title: '新版本 V' + r.version, diff --git a/lib/routes/video/videoList.dart b/lib/routes/video/videoList.dart index 65b447f..8a80c44 100644 --- a/lib/routes/video/videoList.dart +++ b/lib/routes/video/videoList.dart @@ -1,4 +1,3 @@ -import 'dart:math'; import 'package:eoe_fans/common/Api.dart'; import 'package:eoe_fans/models/member.dart'; import 'package:eoe_fans/models/video.dart'; @@ -31,14 +30,13 @@ class _VideoListState extends State { int _page = 0; MemberEnum? _memberFilter; - VideosRequestOrder _order = VideosRequestOrder.view; + VideosRequestOrder _order = VideosRequestOrder.pubdate; bool _loading = false; List