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