Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
a233e957b2
1 changed files with 15 additions and 10 deletions
|
@ -97,16 +97,21 @@ class _MapEntryScrollerState extends State<MapEntryScroller> {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
Positioned.fill(
|
Positioned.fill(
|
||||||
child: ValueListenableBuilder<CollectionLens?>(
|
child: ValueListenableBuilder<AvesEntry?>(
|
||||||
valueListenable: widget.regionCollectionNotifier,
|
valueListenable: _infoEntryNotifier,
|
||||||
builder: (context, regionCollection, child) {
|
builder: (context, infoEntry, child) {
|
||||||
return regionCollection != null && regionCollection.isEmpty
|
return ValueListenableBuilder<CollectionLens?>(
|
||||||
? EmptyContent(
|
valueListenable: widget.regionCollectionNotifier,
|
||||||
text: context.l10n.mapEmptyRegion,
|
builder: (context, regionCollection, child) {
|
||||||
alignment: Alignment.center,
|
return infoEntry == null && regionCollection != null && regionCollection.isEmpty
|
||||||
fontSize: 18,
|
? EmptyContent(
|
||||||
)
|
text: context.l10n.mapEmptyRegion,
|
||||||
: const SizedBox();
|
alignment: Alignment.center,
|
||||||
|
fontSize: 18,
|
||||||
|
)
|
||||||
|
: const SizedBox();
|
||||||
|
},
|
||||||
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue