bug fixed :on empty cards case couldn't refresh
This commit is contained in:
parent
6ea931a265
commit
537122e45d
|
|
@ -182,6 +182,12 @@ class HomeScreen extends StatelessWidget {
|
|||
).center();
|
||||
} else {
|
||||
return Obx(() {
|
||||
if (cardController
|
||||
.cardState.result.data.isEmpty) {
|
||||
return SizedBox(
|
||||
height: Get.height,
|
||||
);
|
||||
}
|
||||
return ResponsiveView(
|
||||
mainAxisExtent:
|
||||
Responsive.isTablet() ? 200 : 158,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user