From e086a56a4c28e1163e2f592fdef9dbe5c9ca62e4 Mon Sep 17 00:00:00 2001 From: Sun Date: Wed, 9 Jun 2021 17:38:41 +0800 Subject: [PATCH] upgrade flutter's kotlin & gradle --- android/build.gradle | 2 +- core/android/build.gradle | 2 +- lib/pages/account_generate.dart | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index c505a86..b3afb28 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.3.50' + ext.kotlin_version = '1.5.10' repositories { google() jcenter() diff --git a/core/android/build.gradle b/core/android/build.gradle index e5ddc8d..69c46a1 100644 --- a/core/android/build.gradle +++ b/core/android/build.gradle @@ -2,7 +2,7 @@ group 'com.esse_core.esse_core' version '1.0-SNAPSHOT' buildscript { - ext.kotlin_version = '1.3.50' + ext.kotlin_version = '1.5.10' repositories { google() jcenter() diff --git a/lib/pages/account_generate.dart b/lib/pages/account_generate.dart index 4110cd0..4724c5a 100644 --- a/lib/pages/account_generate.dart +++ b/lib/pages/account_generate.dart @@ -282,7 +282,7 @@ class _AccountGeneratePageState extends State { height: 100, decoration: BoxDecoration( color: color.surface, - image: _imageBytes == null ? DecorationImage( + image: _imageBytes != null ? DecorationImage( image: MemoryImage(_imageBytes), fit: BoxFit.cover, ) : null,