mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-25 09:41:02 +00:00
Don't include post actions button in capture mode
This commit is contained in:
parent
2828550531
commit
c8c7f2d29d
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ import Shimmer
|
|||
import SwiftUI
|
||||
|
||||
public struct StatusRowView: View {
|
||||
@Environment(\.isInCaptureMode) private var isInCaptureMode: Bool
|
||||
@Environment(\.redactionReasons) private var reasons
|
||||
@Environment(\.isCompact) private var isCompact: Bool
|
||||
|
||||
|
@ -69,7 +70,7 @@ public struct StatusRowView: View {
|
|||
.accessibilityAction {
|
||||
viewModel.navigateToDetail()
|
||||
}
|
||||
if viewModel.showActions, theme.statusActionsDisplay != .none {
|
||||
if viewModel.showActions, theme.statusActionsDisplay != .none, !isInCaptureMode {
|
||||
StatusRowActionsView(viewModel: viewModel)
|
||||
.padding(.top, 8)
|
||||
.tint(viewModel.isFocused ? theme.tintColor : .gray)
|
||||
|
|
Loading…
Reference in a new issue