Ignore the report button on my post (#856)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
This commit is contained in:
parent
fc240ce2ef
commit
1b47419458
|
@ -119,20 +119,21 @@ struct StatusRowContextMenu: View {
|
||||||
action: { viewModel.showDeleteAlert = true },
|
action: { viewModel.showDeleteAlert = true },
|
||||||
label: { Label("status.action.delete", systemImage: "trash") })
|
label: { Label("status.action.delete", systemImage: "trash") })
|
||||||
}
|
}
|
||||||
} else if !viewModel.isRemote {
|
} else {
|
||||||
Section(viewModel.status.account.acct) {
|
if !viewModel.isRemote {
|
||||||
Button {
|
Section(viewModel.status.account.acct) {
|
||||||
routerPath.presentedSheet = .mentionStatusEditor(account: viewModel.status.account, visibility: .pub)
|
Button {
|
||||||
} label: {
|
routerPath.presentedSheet = .mentionStatusEditor(account: viewModel.status.account, visibility: .pub)
|
||||||
Label("status.action.mention", systemImage: "at")
|
} label: {
|
||||||
}
|
Label("status.action.mention", systemImage: "at")
|
||||||
Button {
|
}
|
||||||
routerPath.presentedSheet = .mentionStatusEditor(account: viewModel.status.account, visibility: .direct)
|
Button {
|
||||||
} label: {
|
routerPath.presentedSheet = .mentionStatusEditor(account: viewModel.status.account, visibility: .direct)
|
||||||
Label("status.action.message", systemImage: "tray.full")
|
} label: {
|
||||||
|
Label("status.action.message", systemImage: "tray.full")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Section {
|
Section {
|
||||||
Button(role: .destructive) {
|
Button(role: .destructive) {
|
||||||
routerPath.presentedSheet = .report(status: viewModel.status.reblogAsAsStatus ?? viewModel.status)
|
routerPath.presentedSheet = .report(status: viewModel.status.reblogAsAsStatus ?? viewModel.status)
|
||||||
|
|
Loading…
Reference in New Issue