mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 17:11:14 +00:00
Merge branch 'master' into move-title-in-cards
This commit is contained in:
commit
3fb7013f84
|
@ -93,6 +93,10 @@ class DnsRecordsCubit extends ServerConnectionDependentCubit<DnsRecordsState> {
|
|||
final List<DesiredDnsRecord> foundRecords = [];
|
||||
try {
|
||||
for (final DnsRecord pendingDnsRecord in pendingDnsRecords) {
|
||||
if (pendingDnsRecord.type == 'AAAA' &&
|
||||
(pendingDnsRecord.content?.startsWith('fe80::') ?? false)) {
|
||||
continue;
|
||||
}
|
||||
if (pendingDnsRecord.name == 'selector._domainkey') {
|
||||
final foundRecord = providerDnsRecords.firstWhere(
|
||||
(final r) =>
|
||||
|
@ -207,7 +211,6 @@ class DnsRecordsCubit extends ServerConnectionDependentCubit<DnsRecordsState> {
|
|||
records.addAll(recordsToAdd);
|
||||
}
|
||||
|
||||
|
||||
/// TODO: Error handling?
|
||||
final ServerDomain? domain = getIt<ApiConnectionRepository>().serverDomain;
|
||||
await ProvidersController.currentDnsProvider!.removeDomainRecords(
|
||||
|
|
Loading…
Reference in a new issue