mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
added back the share sheet popover
This commit is contained in:
@@ -25,6 +25,7 @@ struct LocationSharingScreen: View {
|
|||||||
.sheet(isPresented: .constant(true)) {
|
.sheet(isPresented: .constant(true)) {
|
||||||
StaticLocationSheet(context: context)
|
StaticLocationSheet(context: context)
|
||||||
.alert(item: $context.alertInfo)
|
.alert(item: $context.alertInfo)
|
||||||
|
.popover(isPresented: $context.showShareSheet) { shareSheet }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ struct StaticLocationSheet: View {
|
|||||||
timestamp: location.timestamp,
|
timestamp: location.timestamp,
|
||||||
mediaProvider: context.mediaProvider)
|
mediaProvider: context.mediaProvider)
|
||||||
}
|
}
|
||||||
accessibilityHint(L10n.actionShare)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -88,7 +87,7 @@ private struct UserLocationCell: View {
|
|||||||
Spacer()
|
Spacer()
|
||||||
CompoundIcon(\.shareIos)
|
CompoundIcon(\.shareIos)
|
||||||
.foregroundStyle(.compound.iconSecondary)
|
.foregroundStyle(.compound.iconSecondary)
|
||||||
.accessibilityHidden(true)
|
.accessibilityLabel(L10n.actionShare)
|
||||||
}
|
}
|
||||||
.padding(.vertical, 12)
|
.padding(.vertical, 12)
|
||||||
.rowDivider(alignment: .top)
|
.rowDivider(alignment: .top)
|
||||||
|
|||||||
Reference in New Issue
Block a user