Restore menu style in provider picker

Faces #761, but fixes #774
This commit is contained in:
Davide 2024-10-30 12:34:38 +01:00
parent c677a1e655
commit a39583da1f
1 changed files with 0 additions and 6 deletions

View File

@ -26,8 +26,6 @@
import PassepartoutKit
import SwiftUI
// FIXME: #774, iPadOS (Simulator?) picker .navigationLink selection is blue (vs gray) and disclosed options are white
struct ProviderPicker: View {
let providers: [ProviderMetadata]
@ -52,10 +50,6 @@ struct ProviderPicker: View {
.tag(providerId) // tag always exists
}
}
#if os(iOS)
// picker menu animations are buggy on iOS
.pickerStyle(.navigationLink)
#endif
.disabled(isLoading || providers.isEmpty)
}
}