mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 17:11:14 +00:00
style: Reformatting
This commit is contained in:
parent
62b7a0ee7e
commit
a8bddaaeba
|
@ -176,7 +176,8 @@ class ServerInstallationRepository {
|
||||||
await setDnsApiToken(token);
|
await setDnsApiToken(token);
|
||||||
return (await ProvidersController.currentDnsProvider!.getZoneId(
|
return (await ProvidersController.currentDnsProvider!.getZoneId(
|
||||||
domain,
|
domain,
|
||||||
)).data;
|
))
|
||||||
|
.data;
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<Map<String, bool>> isDnsAddressesMatch(
|
Future<Map<String, bool>> isDnsAddressesMatch(
|
||||||
|
|
|
@ -21,10 +21,12 @@ class ServerJobsState extends ServerInstallationDependendState {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
List<ServerJob> get backupJobList => serverJobList.where(
|
List<ServerJob> get backupJobList => serverJobList
|
||||||
|
.where(
|
||||||
// The backup jobs has the format of 'service.<service_id>.backup'
|
// The backup jobs has the format of 'service.<service_id>.backup'
|
||||||
(final job) => job.typeId.contains('backup'),
|
(final job) => job.typeId.contains('backup'),
|
||||||
).toList();
|
)
|
||||||
|
.toList();
|
||||||
|
|
||||||
bool get hasRemovableJobs => serverJobList.any(
|
bool get hasRemovableJobs => serverJobList.any(
|
||||||
(final job) =>
|
(final job) =>
|
||||||
|
|
|
@ -44,11 +44,10 @@ class _DeveloperSettingsPageState extends State<DeveloperSettingsPage> {
|
||||||
),
|
),
|
||||||
SwitchListTile(
|
SwitchListTile(
|
||||||
title: Text('developer_settings.ignore_tls'.tr()),
|
title: Text('developer_settings.ignore_tls'.tr()),
|
||||||
subtitle:
|
subtitle: Text('developer_settings.ignore_tls_description'.tr()),
|
||||||
Text('developer_settings.ignore_tls_description'.tr()),
|
|
||||||
value: TlsOptions.verifyCertificate,
|
value: TlsOptions.verifyCertificate,
|
||||||
onChanged: (final bool value) => setState(
|
onChanged: (final bool value) => setState(
|
||||||
() => TlsOptions.verifyCertificate = value,
|
() => TlsOptions.verifyCertificate = value,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
|
|
|
@ -179,7 +179,8 @@ class _ServicesMigrationPageState extends State<ServicesMigrationPage> {
|
||||||
context: context,
|
context: context,
|
||||||
useRootNavigator: true,
|
useRootNavigator: true,
|
||||||
isScrollControlled: true,
|
isScrollControlled: true,
|
||||||
builder: (final BuildContext context) => DraggableScrollableSheet(
|
builder: (final BuildContext context) =>
|
||||||
|
DraggableScrollableSheet(
|
||||||
expand: false,
|
expand: false,
|
||||||
maxChildSize: 0.9,
|
maxChildSize: 0.9,
|
||||||
minChildSize: 0.4,
|
minChildSize: 0.4,
|
||||||
|
|
Loading…
Reference in a new issue