Skip to content

Commit

Permalink
Fixed keyboard closing immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
theRookieCoder committed May 12, 2021
1 parent 12204b7 commit e707d1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [1.3.1]

- Fixed keyboard immediately closing

## [1.3.0]

- Removed `googleapis` and `google_sign_in`
Expand Down
3 changes: 0 additions & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ class _MyAppState extends State<MyApp> {
if (snapshot.connectionState == ConnectionState.done &&
!snapshot.hasError) {
child = HomePage(
key: UniqueKey(),
driveHelper: driveHelper,
logFileID: logFileID,
version: version,
Expand All @@ -89,7 +88,6 @@ class _MyAppState extends State<MyApp> {
else if (snapshot.connectionState == ConnectionState.done &&
snapshot.hasError) {
child = Scaffold(
key: UniqueKey(),
body: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Expand All @@ -110,7 +108,6 @@ class _MyAppState extends State<MyApp> {
// If future did not resolve yet, show progress indicator
else {
child = Scaffold(
key: UniqueKey(),
backgroundColor: Colors.grey[850],
body: Center(
child: SizedBox(
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repository: https://www.github.com/theRookieCoder/bp_logger
publish_to: "none"

# The following defines the version and build number for your application.
version: 1.3.0
version: 1.3.1

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down

0 comments on commit e707d1d

Please sign in to comment.