Delay presentation of imported file modal
Fixes navigation bug on iOS 14 preventing modal from dismissing via close button.
This commit is contained in:
parent
59b3c320c8
commit
46a8fb8a74
|
@ -97,7 +97,10 @@ extension OrganizerView {
|
|||
assertionFailure("Empty URLs from file importer?")
|
||||
return
|
||||
}
|
||||
addProfileModalType = .addHost(url, false)
|
||||
Task {
|
||||
await Task.maybeWait(forMilliseconds: Constants.Delays.xxxPresentFileImporter)
|
||||
addProfileModalType = .addHost(url, false)
|
||||
}
|
||||
|
||||
case .failure(let error):
|
||||
alertType = .error(
|
||||
|
|
Loading…
Reference in New Issue