mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 04:38:55 +03:30
Set 'There is no item to show' to all menu screens
This commit is contained in:
@@ -251,7 +251,8 @@ class _ItemResultScreenState extends State<ItemResultScreen> {
|
||||
color: Colors.black,
|
||||
),
|
||||
)
|
||||
: ListView.builder(
|
||||
: itemResults.items?.length != null ?
|
||||
ListView.builder(
|
||||
controller: sc,
|
||||
itemBuilder: (context, index) {
|
||||
// remove extra ,
|
||||
@@ -262,7 +263,12 @@ class _ItemResultScreenState extends State<ItemResultScreen> {
|
||||
},
|
||||
itemCount: itemResults.items?.length,
|
||||
shrinkWrap: true,
|
||||
);
|
||||
) :
|
||||
Container(
|
||||
child: Center(
|
||||
child: Text("There is no item to show."),
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user