add display for new user
This commit is contained in:
parent
61ebd75963
commit
11784a07ae
1 changed files with 6 additions and 2 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue