Browse Source

Changes to comments

ashilkn 1 year ago
parent
commit
aef57cbee6

+ 1 - 1
lib/ui/viewer/search/result/no_result_widget.dart

@@ -111,8 +111,8 @@ class _NoResultWidgetState extends State<NoResultWidget> {
     );
     );
   }
   }
 
 
+  /// Join the strings with ', ' and wrap each element with double quotes
   String formatList(List<String> strings) {
   String formatList(List<String> strings) {
-    // Join the strings with ', ' and wrap each element with double quotes
     return strings.map((str) => '"$str"').join(', ');
     return strings.map((str) => '"$str"').join(', ');
   }
   }
 }
 }

+ 0 - 3
lib/ui/viewer/search/result/search_result_widget.dart

@@ -28,15 +28,12 @@ class SearchResultWidget extends StatelessWidget {
     return GestureDetector(
     return GestureDetector(
       behavior: HitTestBehavior.opaque,
       behavior: HitTestBehavior.opaque,
       child: Container(
       child: Container(
-        //todo: check and change color to figma
         decoration: BoxDecoration(
         decoration: BoxDecoration(
           borderRadius: const BorderRadius.all(Radius.circular(4)),
           borderRadius: const BorderRadius.all(Radius.circular(4)),
-          // color: Theme.of(context).colorScheme.searchResultsColor,
           border: Border.all(
           border: Border.all(
             color: getEnteColorScheme(context).strokeFainter,
             color: getEnteColorScheme(context).strokeFainter,
           ),
           ),
         ),
         ),
-
         child: Row(
         child: Row(
           mainAxisAlignment: MainAxisAlignment.spaceBetween,
           mainAxisAlignment: MainAxisAlignment.spaceBetween,
           crossAxisAlignment: CrossAxisAlignment.center,
           crossAxisAlignment: CrossAxisAlignment.center,