I dont know
This commit is contained in:
parent
b9c9063571
commit
dd78fab259
1 changed files with 4 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ class _MihBusinessProfilePreviewState extends State<MihBusinessProfilePreview> {
|
|||
);
|
||||
} else {
|
||||
return Icon(
|
||||
MihIcons.mihLogo,
|
||||
MihIcons.iDontKnow,
|
||||
size: profilePictureWidth,
|
||||
);
|
||||
}
|
||||
|
|
@ -80,7 +80,9 @@ class _MihBusinessProfilePreviewState extends State<MihBusinessProfilePreview> {
|
|||
),
|
||||
),
|
||||
Text(
|
||||
widget.myLocation != null ? calculateDistance() : "0.00 km",
|
||||
widget.myLocation != null || widget.myLocation!.isEmpty
|
||||
? calculateDistance()
|
||||
: "0.00 km",
|
||||
style: TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 12,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue