diff --git a/web_native/assets/imagini_full.png b/web_native/assets/imagini_full.png new file mode 100644 index 0000000..5e61049 Binary files /dev/null and b/web_native/assets/imagini_full.png differ diff --git a/web_native/lib/api/cookie_client/io_cookie_client.dart b/web_native/lib/api/cookie_client/io_cookie_client.dart index 26a4508..6c0d430 100644 --- a/web_native/lib/api/cookie_client/io_cookie_client.dart +++ b/web_native/lib/api/cookie_client/io_cookie_client.dart @@ -30,13 +30,6 @@ class IOClientWithCookies extends IOClient { if (response.headers.containsKey("x-imagini-refreshtoken")) { await _storage.set("refreshToken", response.headers["x-imagini-refreshtoken"]); } - - _accessToken = await _storage.get("accessToken"); - _refreshToken = await _storage.get("refreshToken"); - - print("Access Token: $_accessToken"); - print("Refresh Token: $_refreshToken"); - return response; }); } diff --git a/web_native/lib/screens/home_screen.dart b/web_native/lib/screens/home_screen.dart index 35b03f2..bf587fc 100644 --- a/web_native/lib/screens/home_screen.dart +++ b/web_native/lib/screens/home_screen.dart @@ -108,17 +108,9 @@ class _HomeScreenState extends State { constraints: BoxConstraints(maxWidth: 500), child: Container( margin: EdgeInsets.fromLTRB(50, 0, 50, 0), - height: 270, + height: 370, child: Column( children: [ - Container( - child: FittedBox( - fit: BoxFit.contain, - child: const FlutterLogo(), - ), - width: 175, - margin: EdgeInsets.fromLTRB(0, 0, 0, 50), - ), PlatformCircularProgressIndicator() ], ), diff --git a/web_native/lib/screens/login_screen.dart b/web_native/lib/screens/login_screen.dart index f7dcbee..8f5488b 100644 --- a/web_native/lib/screens/login_screen.dart +++ b/web_native/lib/screens/login_screen.dart @@ -65,14 +65,11 @@ class _LoginScreenState extends State { constraints: BoxConstraints(maxWidth: 500), child: Container( margin: EdgeInsets.fromLTRB(50, 0, 50, 0), - height: 270, + height: 275, child: Column( children: [ Container( - child: FittedBox( - fit: BoxFit.contain, - child: const FlutterLogo(), - ), + child: Image(image: AssetImage('assets/imagini_full.png')), width: 175, margin: EdgeInsets.fromLTRB(0, 0, 0, 50), ), @@ -102,10 +99,7 @@ class _LoginScreenState extends State { child: Column( children: [ Container( - child: FittedBox( - fit: BoxFit.contain, - child: const FlutterLogo(), - ), + child: Image(image: AssetImage('assets/imagini_full.png')), width: 175, margin: EdgeInsets.fromLTRB(0, 0, 0, 50), ), diff --git a/web_native/pubspec.yaml b/web_native/pubspec.yaml index 806aa88..aff3506 100644 --- a/web_native/pubspec.yaml +++ b/web_native/pubspec.yaml @@ -35,6 +35,8 @@ dev_dependencies: flutter: uses-material-design: true + assets: + - assets/imagini_full.png flutter_icons: android: "launcher_icon"