إصلاح أخطاء شاشة الكباتن من تحديث الذكاء الاصطناعي
This commit is contained in:
@@ -23,13 +23,16 @@ class DriversPendingPage extends StatelessWidget {
|
||||
body: Column(
|
||||
children: [
|
||||
_buildAppBar(context, cs),
|
||||
Expanded(
|
||||
Expanded(
|
||||
child: GetBuilder<DriverController>(
|
||||
id: 'drivers',
|
||||
builder: (c) { if (c.drivers.isEmpty) {
|
||||
builder: (c) {
|
||||
if (c.isLoading) {
|
||||
return _buildLoadingState(cs);
|
||||
}
|
||||
if (c.drivers.isEmpty) {
|
||||
return _buildEmptyState(cs);
|
||||
}
|
||||
|
||||
return RefreshIndicator(
|
||||
onRefresh: () => controller.getDriversPending(),
|
||||
color: cs.primary,
|
||||
|
||||
Reference in New Issue
Block a user