mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-02-08 22:12:23 +00:00
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
1 changed files with 13 additions and 12 deletions
|
@ -119,7 +119,8 @@ 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 {
|
||||||
|
if !viewModel.isRemote {
|
||||||
Section(viewModel.status.account.acct) {
|
Section(viewModel.status.account.acct) {
|
||||||
Button {
|
Button {
|
||||||
routerPath.presentedSheet = .mentionStatusEditor(account: viewModel.status.account, visibility: .pub)
|
routerPath.presentedSheet = .mentionStatusEditor(account: viewModel.status.account, visibility: .pub)
|
||||||
|
@ -132,7 +133,7 @@ struct StatusRowContextMenu: View {
|
||||||
Label("status.action.message", systemImage: "tray.full")
|
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 a new issue