added back the share sheet popover

This commit is contained in:
Mauro Romito
2026-03-06 15:21:04 +01:00
committed by Mauro
parent 4633b0b140
commit 219c5676b1
2 changed files with 2 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ struct LocationSharingScreen: View {
.sheet(isPresented: .constant(true)) {
StaticLocationSheet(context: context)
.alert(item: $context.alertInfo)
.popover(isPresented: $context.showShareSheet) { shareSheet }
}
}
}

View File

@@ -41,7 +41,6 @@ struct StaticLocationSheet: View {
timestamp: location.timestamp,
mediaProvider: context.mediaProvider)
}
accessibilityHint(L10n.actionShare)
}
}
}
@@ -88,7 +87,7 @@ private struct UserLocationCell: View {
Spacer()
CompoundIcon(\.shareIos)
.foregroundStyle(.compound.iconSecondary)
.accessibilityHidden(true)
.accessibilityLabel(L10n.actionShare)
}
.padding(.vertical, 12)
.rowDivider(alignment: .top)