mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2026-02-20 07:05:07 +01:00
@@ -47,11 +47,11 @@ final class PveProvider extends ChangeNotifier {
|
||||
final client = HttpClient();
|
||||
client.connectionFactory = cf;
|
||||
if (_ignoreCert) {
|
||||
client.badCertificateCallback = (_, __, ___) => true;
|
||||
client.badCertificateCallback = (_, _, _) => true;
|
||||
}
|
||||
return client;
|
||||
},
|
||||
validateCertificate: _ignoreCert ? (_, __, ___) => true : null,
|
||||
validateCertificate: _ignoreCert ? (_, _, _) => true : null,
|
||||
);
|
||||
|
||||
final data = ValueNotifier<PveRes?>(null);
|
||||
|
||||
@@ -12,9 +12,6 @@ class SettingStore extends HiveStore {
|
||||
|
||||
static final instance = SettingStore._();
|
||||
|
||||
/// Discussion #146
|
||||
late final serverTabUseOldUI = propertyDefault('serverTabUseOldUI', false);
|
||||
|
||||
/// Time out for server connect and more...
|
||||
late final timeout = propertyDefault('timeOut', 5);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user