Isolate root connection tests from native update network probes
This commit is contained in:
@@ -33,6 +33,7 @@ class PipelinesRoot extends StatefulWidget {
|
||||
this.catalogStore = const SharedPreferencesServerCatalogStore(),
|
||||
this.web = kIsWeb,
|
||||
this.clientFactory,
|
||||
this.nativeUpdatesSupported,
|
||||
});
|
||||
|
||||
final ServerEndpoint server;
|
||||
@@ -46,6 +47,9 @@ class PipelinesRoot extends StatefulWidget {
|
||||
final SettingsStore settingsStore;
|
||||
final ServerCatalogStore catalogStore;
|
||||
final bool web;
|
||||
|
||||
/// Optional capability override for platform hosts and isolated widget tests.
|
||||
final bool? nativeUpdatesSupported;
|
||||
final PipelinesClient Function()? clientFactory;
|
||||
|
||||
@override
|
||||
@@ -275,6 +279,7 @@ class _PipelinesRootState extends State<PipelinesRoot> {
|
||||
}
|
||||
if (!_onboarding) {
|
||||
return PipelinesApp(
|
||||
androidSupported: widget.nativeUpdatesSupported,
|
||||
key: ValueKey(_generation),
|
||||
server: _server,
|
||||
client: _client,
|
||||
|
||||
Reference in New Issue
Block a user