add display for new user
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user