π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove unnecessary expanded
ashilkneb38e4cfda78
diff --git a/lib/ui/viewer/search/search_section.dart b/lib/ui/viewer/search/search_section.dartindex 13886d20a1..5efed2f60c 100644--- a/lib/ui/viewer/search/search_section.dart+++ b/lib/ui/viewer/search/search_section.dart@@ -24,31 +24,29 @@ class SearchSection extends StatelessWidget {Widget build(BuildContext context) {debugPrint("Building section for ${sectionType.name}");final textTheme = getEnteTextTheme(context);- return Expanded(- child: Column(- crossAxisAlignment: CrossAxisAlignment.start,- children: [- Row(- children: [- Padding(- padding: const EdgeInsets.all(12),- child: Text(- sectionType.sectionTitle(context),- style: textTheme.largeBold,- ),+ return Column(+ crossAxisAlignment: CrossAxisAlignment.start,+ children: [+ Row(+ children: [+ Padding(+ padding: const EdgeInsets.all(12),+ child: Text(+ sectionType.sectionTitle(context),+ style: textTheme.largeBold,),- ],- ),- const SizedBox(height: 2),- // wrap below text in next line- // Text(- // sectionType.getEmptyStateText(context),- // style: textTheme.smallMuted,- // softWrap: true,- // ),- SearchExampleRow(examples, sectionType),- ],- ),+ ),+ ],+ ),+ const SizedBox(height: 2),+ // wrap below text in next line+ // Text(+ // sectionType.getEmptyStateText(context),+ // style: textTheme.smallMuted,+ // softWrap: true,+ // ),+ SearchExampleRow(examples, sectionType),+ ],);}}