mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-24 08:00:38 +00:00
Status actions: Bigger tap target
This commit is contained in:
parent
a3f29aa15b
commit
91f0df0f26
2 changed files with 7 additions and 1 deletions
|
@ -95,7 +95,6 @@ public struct StatusRowView: View {
|
|||
StatusRowActionsView(viewModel: viewModel)
|
||||
.tint(isFocused ? theme.tintColor : .gray)
|
||||
.contentShape(Rectangle())
|
||||
.padding(.top, 6)
|
||||
}
|
||||
|
||||
if isFocused, !isCompact {
|
||||
|
|
|
@ -143,6 +143,8 @@ struct StatusRowActionsView: View {
|
|||
action.image(dataController: statusDataController)
|
||||
.font(.scaledBody)
|
||||
}
|
||||
.padding(.vertical, 6)
|
||||
.padding(.trailing, 8)
|
||||
.buttonStyle(.statusAction())
|
||||
.accessibilityElement(children: .combine)
|
||||
.accessibilityLabel("status.action.share-link")
|
||||
|
@ -154,6 +156,8 @@ struct StatusRowActionsView: View {
|
|||
action.image(dataController: statusDataController)
|
||||
.font(.scaledBody)
|
||||
}
|
||||
.padding(.vertical, 6)
|
||||
.padding(.trailing, 8)
|
||||
.buttonStyle(.statusAction())
|
||||
.accessibilityElement(children: .combine)
|
||||
.accessibilityLabel("status.action.share-link")
|
||||
|
@ -170,6 +174,7 @@ struct StatusRowActionsView: View {
|
|||
}
|
||||
} label: {
|
||||
Label("", systemImage: "ellipsis")
|
||||
.padding(.vertical, 6)
|
||||
}
|
||||
.menuStyle(.button)
|
||||
.foregroundStyle(.secondary)
|
||||
|
@ -216,6 +221,8 @@ struct StatusRowActionsView: View {
|
|||
.monospacedDigit()
|
||||
}
|
||||
}
|
||||
.padding(.vertical, 6)
|
||||
.padding(.trailing, 8)
|
||||
.contentShape(Rectangle())
|
||||
}
|
||||
.buttonStyle(
|
||||
|
|
Loading…
Reference in a new issue