forked from Nexus/nexus
use stale data if needed instead of showing loading in pinned events drawer
This commit is contained in:
parent
92f53c9aca
commit
81bf1a8302
1 changed files with 2 additions and 1 deletions
|
|
@ -51,7 +51,8 @@ class PinnedEventsDrawer extends HookConsumerWidget {
|
|||
],
|
||||
),
|
||||
),
|
||||
AsyncData(:final value) => ListView.builder(
|
||||
AsyncData(:final value) ||
|
||||
AsyncLoading(:final value?) => ListView.builder(
|
||||
padding: .symmetric(horizontal: 8),
|
||||
itemCount: value.length,
|
||||
itemBuilder: (context, index) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue