Skip to content

Commit c59044c

Browse files
committed
keep searching
1 parent 6bc2eba commit c59044c

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

lib/utils/recent_search.dart

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,16 @@ class RecentSearch extends StatelessWidget {
4141
valueListenable: Hive.box('Recentsearch').listenable(),
4242
builder: (context, box, child) {
4343
if (box.isEmpty) {
44-
return const Text(
45-
"no liked songs",
46-
style: TextStyle(
47-
fontSize: 20,
48-
fontWeight: FontWeight.bold,
49-
color: Colors.white,
44+
return const SizedBox(
45+
height: 300,
46+
child: Center(
47+
child: Text(
48+
"Keep Searching..",
49+
style: TextStyle(
50+
color: Colors.white,
51+
fontSize: 16,
52+
),
53+
),
5054
),
5155
);
5256
}

0 commit comments

Comments
 (0)