mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-20 21:28:41 -04:00
beta warning dialog
This commit is contained in:
parent
ba191d3903
commit
6080c2f0c6
26 changed files with 445 additions and 339 deletions
|
@ -57,16 +57,11 @@ class AuthorInputSource {
|
|||
// Get another input batch futher back
|
||||
final nextWindow = await cubit.loadElementsFromReader(
|
||||
reader, last + 1, (last + 1) - first);
|
||||
final asErr = nextWindow.asError;
|
||||
if (asErr != null) {
|
||||
return AsyncValue.error(asErr.error, asErr.stackTrace);
|
||||
}
|
||||
final asLoading = nextWindow.asLoading;
|
||||
if (asLoading != null) {
|
||||
if (nextWindow == null) {
|
||||
return const AsyncValue.loading();
|
||||
}
|
||||
_currentWindow = InputWindow(
|
||||
elements: nextWindow.asData!.value, first: first, last: last);
|
||||
_currentWindow =
|
||||
InputWindow(elements: nextWindow, first: first, last: last);
|
||||
return const AsyncValue.data(true);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue