mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-23 09:16:54 +00:00
chore: Remove unused image from DNS Picket
This commit is contained in:
parent
9552df1ec2
commit
a2ed839927
|
@ -47,39 +47,27 @@ class _DnsProviderPickerState extends State<DnsProviderPicker> {
|
||||||
case DnsProviderType.cloudflare:
|
case DnsProviderType.cloudflare:
|
||||||
return ProviderInputDataPage(
|
return ProviderInputDataPage(
|
||||||
providerCubit: widget.formCubit,
|
providerCubit: widget.formCubit,
|
||||||
providerInfo: ProviderPageInfo(
|
providerInfo: const ProviderPageInfo(
|
||||||
providerType: DnsProviderType.cloudflare,
|
providerType: DnsProviderType.cloudflare,
|
||||||
pathToHow: 'how_cloudflare',
|
pathToHow: 'how_cloudflare',
|
||||||
image: Image.asset(
|
|
||||||
'assets/images/logos/cloudflare.png',
|
|
||||||
width: 150,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
case DnsProviderType.digitalOcean:
|
case DnsProviderType.digitalOcean:
|
||||||
return ProviderInputDataPage(
|
return ProviderInputDataPage(
|
||||||
providerCubit: widget.formCubit,
|
providerCubit: widget.formCubit,
|
||||||
providerInfo: ProviderPageInfo(
|
providerInfo: const ProviderPageInfo(
|
||||||
providerType: DnsProviderType.digitalOcean,
|
providerType: DnsProviderType.digitalOcean,
|
||||||
pathToHow: 'how_digital_ocean_dns',
|
pathToHow: 'how_digital_ocean_dns',
|
||||||
image: Image.asset(
|
|
||||||
'assets/images/logos/digital_ocean.png',
|
|
||||||
width: 150,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
case DnsProviderType.desec:
|
case DnsProviderType.desec:
|
||||||
return ProviderInputDataPage(
|
return ProviderInputDataPage(
|
||||||
providerCubit: widget.formCubit,
|
providerCubit: widget.formCubit,
|
||||||
providerInfo: ProviderPageInfo(
|
providerInfo: const ProviderPageInfo(
|
||||||
providerType: DnsProviderType.desec,
|
providerType: DnsProviderType.desec,
|
||||||
pathToHow: 'how_desec',
|
pathToHow: 'how_desec',
|
||||||
image: Image.asset(
|
|
||||||
'assets/images/logos/desec.svg',
|
|
||||||
width: 150,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -90,11 +78,9 @@ class ProviderPageInfo {
|
||||||
const ProviderPageInfo({
|
const ProviderPageInfo({
|
||||||
required this.providerType,
|
required this.providerType,
|
||||||
required this.pathToHow,
|
required this.pathToHow,
|
||||||
required this.image,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
final String pathToHow;
|
final String pathToHow;
|
||||||
final Image image;
|
|
||||||
final DnsProviderType providerType;
|
final DnsProviderType providerType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue