Ver código fonte

Added text to search page as place holder for future works

Tran, Alex 3 anos atrás
pai
commit
135e1a7a7b
1 arquivos alterados com 4 adições e 26 exclusões
  1. 4 26
      mobile/lib/modules/search/views/search_page.dart

+ 4 - 26
mobile/lib/modules/search/views/search_page.dart

@@ -41,33 +41,11 @@ class SearchPage extends HookConsumerWidget {
         },
         child: Stack(
           children: [
+            const Center(
+              child: Text("Start typing to search for your photos"),
+            ),
             ListView(
-              children: [
-                Container(
-                  height: 300,
-                  color: Colors.blue,
-                ),
-                Container(
-                  height: 300,
-                  color: Colors.red,
-                ),
-                Container(
-                  height: 300,
-                  color: Colors.green,
-                ),
-                Container(
-                  height: 300,
-                  color: Colors.blue,
-                ),
-                Container(
-                  height: 300,
-                  color: Colors.red,
-                ),
-                Container(
-                  height: 300,
-                  color: Colors.green,
-                ),
-              ],
+              children: const [],
             ),
             isSearchEnabled ? SearchSuggestionList(onSubmitted: _onSearchSubmitted) : Container(),
           ],