π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
only show 'No results found' on UI when no example queries can be found
ashilkn1840ccaac855
diff --git a/lib/ui/viewer/search/result/no_result_widget.dart b/lib/ui/viewer/search/result/no_result_widget.dartindex c76af71f0c..dccede3a44 100644--- a/lib/ui/viewer/search/result/no_result_widget.dart+++ b/lib/ui/viewer/search/result/no_result_widget.dart@@ -76,10 +76,12 @@ class _NoResultWidgetState extends State<NoResultWidget> {style: textTheme.largeBold,),const SizedBox(height: 6),- Text(- "Modify your query, or try searching for",- style: textTheme.smallMuted,- ),+ searchTypeToQuerySuggestion.isNotEmpty+ ? Text(+ "Modify your query, or try searching for",+ style: textTheme.smallMuted,+ )+ : const SizedBox.shrink(),],),const SizedBox(height: 20),