cleaning, added favicon
All checks were successful
Build Flutter Web and Docker Image for Local Registry / Build Flutter Web App (push) Successful in 3m4s

This commit is contained in:
whysman 2024-11-13 00:52:55 -05:00
parent b5987f040e
commit 321eaf0bbc
2 changed files with 11 additions and 7 deletions

View File

@ -108,7 +108,7 @@ class StatusPageState extends State<StatusPage> with WidgetsBindingObserver {
toastLength: Toast.LENGTH_SHORT, toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.BOTTOM, gravity: ToastGravity.BOTTOM,
backgroundColor: Colors.blueAccent, backgroundColor: Colors.blueAccent,
webBgColor: "#0000FF", // Only use hex values for web webBgColor: "#0000FF",
textColor: Colors.white, textColor: Colors.white,
fontSize: 16.0, fontSize: 16.0,
timeInSecForIosWeb: 1, timeInSecForIosWeb: 1,
@ -119,7 +119,7 @@ class StatusPageState extends State<StatusPage> with WidgetsBindingObserver {
toastLength: Toast.LENGTH_SHORT, toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.BOTTOM, gravity: ToastGravity.BOTTOM,
backgroundColor: Colors.redAccent, backgroundColor: Colors.redAccent,
webBgColor: "#FF0000", // Only use hex values for web webBgColor: "#FF0000",
textColor: Colors.white, textColor: Colors.white,
fontSize: 16.0, fontSize: 16.0,
timeInSecForIosWeb: 1, timeInSecForIosWeb: 1,
@ -138,8 +138,7 @@ class StatusPageState extends State<StatusPage> with WidgetsBindingObserver {
fontSize: 16.0, fontSize: 16.0,
timeInSecForIosWeb: 1, timeInSecForIosWeb: 1,
); );
debugPrint( debugPrint("Error in _sendStatus: $e");
"Error in _sendStatus: $e"); // Use debugPrint instead of exposing error
} }
} }
@ -261,10 +260,15 @@ class StatusPageState extends State<StatusPage> with WidgetsBindingObserver {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
title: Image.asset( title: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Image.asset(
'assets/pogdark_logo.png', 'assets/pogdark_logo.png',
height: 40, height: 40,
), ),
],
),
backgroundColor: Colors.blueAccent, backgroundColor: Colors.blueAccent,
), ),
body: StreamBuilder( body: StreamBuilder(

Binary file not shown.

Before

Width:  |  Height:  |  Size: 917 B

After

Width:  |  Height:  |  Size: 858 KiB