fix: history skeleton container

This commit is contained in:
akhdanre 2025-05-26 12:35:15 +07:00
parent 9a0ccc5c61
commit 27a1b9ada6
2 changed files with 14 additions and 13 deletions

View File

@ -29,11 +29,13 @@ class HistoryView extends GetView<HistoryController> {
const SizedBox(height: 20),
Obx(() {
if (controller.isLoading.value) {
return ListView.builder(
itemCount: 3,
itemBuilder: (context, index) {
return ContainerSkeleton();
},
return Expanded(
child: ListView.builder(
itemCount: 3,
itemBuilder: (context, index) {
return ContainerSkeleton();
},
),
);
}

View File

@ -113,14 +113,13 @@ class SearchView extends GetView<SearchQuizController> {
RxList<QuizListingModel> data,
VoidCallback onAllTap,
) {
return SizedBox(
height: 410,
child: Obx(() => RecomendationComponent(
title: title,
datas: data.toList(),
itemOnTap: controller.goToDetailPage,
allOnTap: onAllTap,
)),
return Obx(
() => RecomendationComponent(
title: title,
datas: data.toList(),
itemOnTap: controller.goToDetailPage,
allOnTap: onAllTap,
),
);
}
}