From 86b46b7f25e6e13daf8fdc47b13e3ffb21e3c075 Mon Sep 17 00:00:00 2001 From: theRookieCoder Date: Wed, 12 May 2021 21:40:43 +0530 Subject: [PATCH] Fixed keyboard closing immediately --- CHANGELOG.md | 4 ++++ lib/main.dart | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c93443a..860e096 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [1.3.1] + +- Fixed keyboard immediately closing + ## [1.3.0] - Removed `googleapis` and `google_sign_in` diff --git a/lib/main.dart b/lib/main.dart index b271ea6..667aa2a 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -78,7 +78,6 @@ class _MyAppState extends State { if (snapshot.connectionState == ConnectionState.done && !snapshot.hasError) { child = HomePage( - key: UniqueKey(), driveHelper: driveHelper, logFileID: logFileID, version: version, @@ -89,7 +88,6 @@ class _MyAppState extends State { else if (snapshot.connectionState == ConnectionState.done && snapshot.hasError) { child = Scaffold( - key: UniqueKey(), body: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ @@ -110,7 +108,6 @@ class _MyAppState extends State { // If future did not resolve yet, show progress indicator else { child = Scaffold( - key: UniqueKey(), backgroundColor: Colors.grey[850], body: Center( child: SizedBox(