[mob] Remove empty CTA icon when there are people
This commit is contained in:
parent
b8813161a1
commit
005ab0814f
1 changed files with 6 additions and 3 deletions
|
@ -170,7 +170,6 @@ class SearchExampleRow extends StatelessWidget {
|
|||
),
|
||||
);
|
||||
});
|
||||
scrollableExamples.add(SearchSectionCTAIcon(sectionType));
|
||||
return SizedBox(
|
||||
child: SingleChildScrollView(
|
||||
physics: const BouncingScrollPhysics(),
|
||||
|
@ -237,7 +236,9 @@ class SearchExample extends StatelessWidget {
|
|||
child: searchResult.previewThumbnail() != null
|
||||
? Hero(
|
||||
tag: heroTag,
|
||||
child: ClipOval(
|
||||
child: ClipRRect(
|
||||
borderRadius:
|
||||
const BorderRadius.all(Radius.elliptical(16, 12)),
|
||||
child: searchResult.type() != ResultType.faces
|
||||
? ThumbnailWidget(
|
||||
searchResult.previewThumbnail()!,
|
||||
|
@ -246,7 +247,9 @@ class SearchExample extends StatelessWidget {
|
|||
: FaceSearchResult(searchResult, heroTag),
|
||||
),
|
||||
)
|
||||
: const ClipOval(
|
||||
: const ClipRRect(
|
||||
borderRadius:
|
||||
BorderRadius.all(Radius.elliptical(16, 12)),
|
||||
child: NoThumbnailWidget(
|
||||
addBorder: false,
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue