|
@@ -208,7 +208,10 @@ class _SharedCollectionGalleryState extends State<SharedCollectionGallery> {
|
|
alignment: Alignment.bottomRight,
|
|
alignment: Alignment.bottomRight,
|
|
child: Container(
|
|
child: Container(
|
|
child: Text(
|
|
child: Text(
|
|
- c.collection.owner.name.substring(0, 1),
|
|
|
|
|
|
+ c.collection.owner.name == null ||
|
|
|
|
+ c.collection.owner.name.isEmpty
|
|
|
|
+ ? c.collection.owner.email.substring(0, 1)
|
|
|
|
+ : c.collection.owner.name.substring(0, 1),
|
|
textAlign: TextAlign.center,
|
|
textAlign: TextAlign.center,
|
|
),
|
|
),
|
|
padding: EdgeInsets.all(8),
|
|
padding: EdgeInsets.all(8),
|