Fix status context menu mention for boost
This commit is contained in:
parent
9bc65d5563
commit
9281e72e8c
|
@ -121,14 +121,14 @@ struct StatusRowContextMenu: View {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if !viewModel.isRemote {
|
if !viewModel.isRemote {
|
||||||
Section(viewModel.status.account.acct) {
|
Section(viewModel.status.reblog?.account.acct ?? viewModel.status.account.acct) {
|
||||||
Button {
|
Button {
|
||||||
viewModel.routerPath.presentedSheet = .mentionStatusEditor(account: viewModel.status.account, visibility: .pub)
|
viewModel.routerPath.presentedSheet = .mentionStatusEditor(account: viewModel.status.reblog?.account ?? viewModel.status.account, visibility: .pub)
|
||||||
} label: {
|
} label: {
|
||||||
Label("status.action.mention", systemImage: "at")
|
Label("status.action.mention", systemImage: "at")
|
||||||
}
|
}
|
||||||
Button {
|
Button {
|
||||||
viewModel.routerPath.presentedSheet = .mentionStatusEditor(account: viewModel.status.account, visibility: .direct)
|
viewModel.routerPath.presentedSheet = .mentionStatusEditor(account: viewModel.status.reblog?.account ?? viewModel.status.account, visibility: .direct)
|
||||||
} label: {
|
} label: {
|
||||||
Label("status.action.message", systemImage: "tray.full")
|
Label("status.action.message", systemImage: "tray.full")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue