π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
indentation and comments
ashilknc0742295ca03
diff --git a/lib/ui/viewer/search/search_suggestions.dart b/lib/ui/viewer/search/search_suggestions.dartindex 6bcb24767d..c9fb647bbe 100644--- a/lib/ui/viewer/search/search_suggestions.dart+++ b/lib/ui/viewer/search/search_suggestions.dart@@ -88,8 +88,9 @@ class _SearchSuggestionsWidgetState extends State<SearchSuggestionsWidget> {}///This method generates searchResultsWidgets from the queueOfEvents by checking- ///every 60ms if the queue is empty or not. If the queue is not empty, it- ///generates the widgets and clears the queue and updates the UI.+ ///every [_surfaceNewResultsInterval] if the queue is empty or not. If the+ ///queue is not empty, it generates the widgets and clears the queue and+ ///updates the UI.void generateResultWidgetsInIntervalsFromQueue() {timer = Timer.periodic(const Duration(milliseconds: _surfaceNewResultsInterval), (timer) {diff --git a/lib/ui/viewer/search/search_widget.dart b/lib/ui/viewer/search/search_widget.dartindex ba713716cd..de28c78dcc 100644--- a/lib/ui/viewer/search/search_widget.dart+++ b/lib/ui/viewer/search/search_widget.dart@@ -299,9 +299,7 @@ class SearchWidgetState extends State<SearchWidget> {_searchService.getHolidaySearchResults(context, query).then((holidayResults) {streamController.sink.add(holidayResults);-resultCount++;-if (resultCount == maxResultCount) {streamController.close();}@@ -312,7 +310,6 @@ class SearchWidgetState extends State<SearchWidget> {(fileTypeSearchResults) {streamController.sink.add(fileTypeSearchResults);resultCount++;-if (resultCount == maxResultCount) {streamController.close();}@@ -323,7 +320,6 @@ class SearchWidgetState extends State<SearchWidget> {(captionAndDisplayNameResult) {streamController.sink.add(captionAndDisplayNameResult);resultCount++;-if (resultCount == maxResultCount) {streamController.close();}@@ -354,7 +350,6 @@ class SearchWidgetState extends State<SearchWidget> {(collectionResults) {streamController.sink.add(collectionResults);resultCount++;-if (resultCount == maxResultCount) {streamController.close();}