mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-06-19 13:50:57 +00:00
Fix shadowed type
This commit is contained in:
parent
6ca09f901f
commit
d68c5a162c
@ -93,14 +93,14 @@ struct ThumbnailPickerView<ValueType: Hashable>: View {
|
|||||||
|
|
||||||
extension ThumbnailPickerView {
|
extension ThumbnailPickerView {
|
||||||
|
|
||||||
struct Item<ValueType: Hashable>: Identifiable {
|
struct Item<InnerValueType: Hashable>: Identifiable {
|
||||||
let id = UUID()
|
let id = UUID()
|
||||||
let value: ValueType
|
let value: InnerValueType
|
||||||
let name: LocalizedStringKey
|
let name: LocalizedStringKey
|
||||||
let description: LocalizedStringKey
|
let description: LocalizedStringKey
|
||||||
let thumbnail: AnyView
|
let thumbnail: AnyView
|
||||||
|
|
||||||
init<ViewType: View>(value: ValueType, name: LocalizedStringKey, description: LocalizedStringKey, thumbnail: ViewType) {
|
init<ViewType: View>(value: InnerValueType, name: LocalizedStringKey, description: LocalizedStringKey, thumbnail: ViewType) {
|
||||||
self.value = value
|
self.value = value
|
||||||
self.name = name
|
self.name = name
|
||||||
self.description = description
|
self.description = description
|
||||||
|
Loading…
Reference in New Issue
Block a user