mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 05:28:55 +03:30
Set 'There is no item to show' to all menu screens
This commit is contained in:
@@ -198,7 +198,9 @@ class _CycleResultScreenState extends State<CycleResultScreen> {
|
||||
color: Colors.black,
|
||||
),
|
||||
)
|
||||
: ListView.builder(
|
||||
:
|
||||
cycleResults.items?.length != null ?
|
||||
ListView.builder(
|
||||
controller: sc,
|
||||
itemBuilder: (context, index) {
|
||||
String labels = '';
|
||||
@@ -221,7 +223,12 @@ class _CycleResultScreenState extends State<CycleResultScreen> {
|
||||
},
|
||||
itemCount: cycleResults.items?.length,
|
||||
shrinkWrap: true,
|
||||
);
|
||||
) :
|
||||
Container(
|
||||
child: Center(
|
||||
child: Text("There is no item to show."),
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user