Compare commits
7 Commits
1b300faea9
...
37d6ad81fd
| Author | SHA1 | Date | |
|---|---|---|---|
| 37d6ad81fd | |||
| cea6c36407 | |||
| dac5cc8a89 | |||
| bafbde7d03 | |||
| fdea594a1e | |||
| 5c8b93072f | |||
| 966f7caa54 |
@@ -74,11 +74,19 @@ class _ChooseGroupViewState extends State<ChooseGroupView> {
|
||||
Expanded(
|
||||
child: Visibility(
|
||||
visible: filteredGroups.isNotEmpty,
|
||||
replacement: Visibility(
|
||||
visible: widget.groups.isNotEmpty,
|
||||
replacement: const TopCenteredMessage(
|
||||
icon: Icons.info,
|
||||
title: 'Info',
|
||||
message: 'You have no groups created yet',
|
||||
),
|
||||
child: const TopCenteredMessage(
|
||||
icon: Icons.info,
|
||||
title: 'Info',
|
||||
message: 'There is no group matching your search',
|
||||
),
|
||||
),
|
||||
child: ListView.builder(
|
||||
padding: const EdgeInsets.only(bottom: 85),
|
||||
itemCount: filteredGroups.length,
|
||||
|
||||
Reference in New Issue
Block a user