fix: history skeleton container
This commit is contained in:
parent
9a0ccc5c61
commit
27a1b9ada6
|
@ -29,11 +29,13 @@ class HistoryView extends GetView<HistoryController> {
|
|||
const SizedBox(height: 20),
|
||||
Obx(() {
|
||||
if (controller.isLoading.value) {
|
||||
return ListView.builder(
|
||||
return Expanded(
|
||||
child: ListView.builder(
|
||||
itemCount: 3,
|
||||
itemBuilder: (context, index) {
|
||||
return ContainerSkeleton();
|
||||
},
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -113,14 +113,13 @@ class SearchView extends GetView<SearchQuizController> {
|
|||
RxList<QuizListingModel> data,
|
||||
VoidCallback onAllTap,
|
||||
) {
|
||||
return SizedBox(
|
||||
height: 410,
|
||||
child: Obx(() => RecomendationComponent(
|
||||
return Obx(
|
||||
() => RecomendationComponent(
|
||||
title: title,
|
||||
datas: data.toList(),
|
||||
itemOnTap: controller.goToDetailPage,
|
||||
allOnTap: onAllTap,
|
||||
)),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue