From a877ad917bf36baa5c8f00eeb4d599ee5f14fc7e Mon Sep 17 00:00:00 2001 From: Predidit <34627277+Predidit@users.noreply.github.com> Date: Fri, 14 Jun 2024 22:19:23 +0800 Subject: [PATCH] version 1.1.0 --- lib/pages/popular/popular_page.dart | 8 +++++++- lib/request/api.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/pages/popular/popular_page.dart b/lib/pages/popular/popular_page.dart index dd710147..3fa50fb3 100644 --- a/lib/pages/popular/popular_page.dart +++ b/lib/pages/popular/popular_page.dart @@ -144,8 +144,14 @@ class _PopularPageState extends State }); }, onClose: () async { + setState(() { + searchLoading = true; + }); popularController.searchKeyword = ''; - popularController.queryBangumiListFeed(); + await popularController.queryBangumiListFeed(); + setState(() { + searchLoading = false; + }); }, ), Positioned.fill( diff --git a/lib/request/api.dart b/lib/request/api.dart index 33b1fa72..555f7918 100644 --- a/lib/request/api.dart +++ b/lib/request/api.dart @@ -1,6 +1,6 @@ class Api { // 当前版本 - static const String version = '1.0.9'; + static const String version = '1.1.0'; // 项目主页 static const String sourceUrl = "https://github.com/Predidit/Kazumi"; // 规则仓库 diff --git a/pubspec.yaml b/pubspec.yaml index 9783754d..3f473ff4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.9+1 +version: 1.1.0+1 environment: sdk: '>=3.3.4 <4.0.0'