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();
|
).center();
|
||||||
} else {
|
} else {
|
||||||
return Obx(() {
|
return Obx(() {
|
||||||
|
if (cardController
|
||||||
|
.cardState.result.data.isEmpty) {
|
||||||
|
return SizedBox(
|
||||||
|
height: Get.height,
|
||||||
|
);
|
||||||
|
}
|
||||||
return ResponsiveView(
|
return ResponsiveView(
|
||||||
mainAxisExtent:
|
mainAxisExtent:
|
||||||
Responsive.isTablet() ? 200 : 158,
|
Responsive.isTablet() ? 200 : 158,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user