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