소스 검색

Added text to search page as place holder for future works

Tran, Alex 3 년 전
부모
커밋
135e1a7a7b
1개의 변경된 파일4개의 추가작업 그리고 26개의 파일을 삭제
  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(),
           ],