mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-23 22:51:00 -04:00
concurrency work in prep for speeding things up
refactor splash screen to process initialization in a better way more async tools for async cubit constructors greatly improved StateMapFollower class
This commit is contained in:
parent
8da1dc7d32
commit
9bb20f4dd2
47 changed files with 886 additions and 579 deletions
|
@ -4,7 +4,6 @@ import 'package:flutter/foundation.dart';
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:veilid_support/veilid_support.dart';
|
||||
|
||||
import 'init.dart';
|
||||
import 'veilid_processor/veilid_processor.dart';
|
||||
|
||||
class BackgroundTicker extends StatefulWidget {
|
||||
|
@ -53,10 +52,6 @@ class BackgroundTickerState extends State<BackgroundTicker> {
|
|||
}
|
||||
|
||||
Future<void> _onTick() async {
|
||||
// Don't tick until we are initialized
|
||||
if (!eventualInitialized.isCompleted) {
|
||||
return;
|
||||
}
|
||||
if (!ProcessorRepository
|
||||
.instance.processorConnectionState.isPublicInternetReady) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue