From 5f2e1480256e07b4942e44489bccf9dde4f9dca9 Mon Sep 17 00:00:00 2001 From: perol Date: Mon, 31 Jan 2022 20:36:17 +0800 Subject: [PATCH] android 0.7.7 --- android/app/build.gradle | 4 ++-- lib/constants.dart | 2 +- lib/page/picture/illust_lighting_page.dart | 5 ++++- lib/page/user/users_page.dart | 5 ++++- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 90ec8d0d6..be239a2ee 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -84,8 +84,8 @@ android { applicationId packageName minSdkVersion 21 targetSdkVersion 31 - versionCode 10007065 - versionName "0.7.7 X" + versionCode 10007070 + versionName "0.7.7 new" ndk { abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64' } } compileOptions { diff --git a/lib/constants.dart b/lib/constants.dart index 46dde246c..e3866a189 100644 --- a/lib/constants.dart +++ b/lib/constants.dart @@ -15,7 +15,7 @@ */ class Constants { - static String tagName = "0.7.6"; + static String tagName = "0.7.7"; static const isGooglePlay = bool.fromEnvironment("IS_GOOGLEPLAY", defaultValue: false); static int type = 0; diff --git a/lib/page/picture/illust_lighting_page.dart b/lib/page/picture/illust_lighting_page.dart index 7f637162f..57e964d04 100644 --- a/lib/page/picture/illust_lighting_page.dart +++ b/lib/page/picture/illust_lighting_page.dart @@ -247,7 +247,10 @@ class _IllustLightingPageState extends State padding: const EdgeInsets.all(8.0), child: Text(':(', style: Theme.of(context).textTheme.headline4), ), - Text('${_illustStore.errorMessage}'), + Text( + '${_illustStore.errorMessage}', + maxLines: 5, + ), ElevatedButton( onPressed: () { _illustStore.fetch(); diff --git a/lib/page/user/users_page.dart b/lib/page/user/users_page.dart index 7561d170f..0a63c5a65 100644 --- a/lib/page/user/users_page.dart +++ b/lib/page/user/users_page.dart @@ -135,7 +135,10 @@ class _UsersPageState extends State children: [ Padding( padding: const EdgeInsets.all(8.0), - child: Text('Http error\n${userStore.errorMessage}'), + child: Text( + 'Http error\n${userStore.errorMessage}', + maxLines: 5, + ), ), Padding( padding: const EdgeInsets.all(8.0),