From b42ad21464379fa578e2a6fd657df84d298ebccf Mon Sep 17 00:00:00 2001 From: Github-actions Date: Thu, 14 Oct 2021 09:02:32 +0000 Subject: [PATCH] Automatic linting --- lib/screens/auth_screen.dart | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/lib/screens/auth_screen.dart b/lib/screens/auth_screen.dart index 14da56220..39c7d5d3c 100644 --- a/lib/screens/auth_screen.dart +++ b/lib/screens/auth_screen.dart @@ -142,20 +142,16 @@ class _AuthCardState extends State { try { // Login existing user if (_authMode == AuthMode.Login) { - await Provider.of(context, listen: false).login( - _authData['username']!, - _authData['password']!, - _authData['serverUrl']! - ); + await Provider.of(context, listen: false) + .login(_authData['username']!, _authData['password']!, _authData['serverUrl']!); // Register new user } else { await Provider.of(context, listen: false).register( - username: _authData['username']!, - password: _authData['password']!, - email: _authData['email']!, - serverUrl: _authData['serverUrl']! - ); + username: _authData['username']!, + password: _authData['password']!, + email: _authData['email']!, + serverUrl: _authData['serverUrl']!); } setState(() {