add display for new user

This commit is contained in:
2025-07-10 10:18:21 +02:00
parent 61ebd75963
commit 11784a07ae

View File

@@ -468,7 +468,9 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
), ),
FittedBox( FittedBox(
child: Text( child: Text(
widget.arguments.signedInUser.username, widget.arguments.signedInUser.username.isNotEmpty
? widget.arguments.signedInUser.username
: "username",
style: TextStyle( style: TextStyle(
fontSize: 35, fontSize: 35,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
@@ -480,7 +482,9 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
), ),
FittedBox( FittedBox(
child: Text( child: Text(
"${widget.arguments.signedInUser.fname} ${widget.arguments.signedInUser.lname}", widget.arguments.signedInUser.fname.isNotEmpty
? "${widget.arguments.signedInUser.fname} ${widget.arguments.signedInUser.lname}"
: "Name Surname",
style: TextStyle( style: TextStyle(
fontSize: 25, fontSize: 25,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,