We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 053147e commit ab11ef7Copy full SHA for ab11ef7
WooCommerce/Classes/ViewRelated/Hub Menu/HubMenu.swift
@@ -46,8 +46,6 @@ struct HubMenu: View {
46
showingCoupons = true
47
}
48
})
49
- .frame(width: Constants.itemSize, height: Constants.itemSize)
50
- .contentShape(Rectangle())
51
52
.background(Color(.listForeground))
53
.cornerRadius(Constants.cornerRadius)
WooCommerce/Classes/ViewRelated/Hub Menu/HubMenuElement.swift
@@ -29,11 +29,13 @@ struct HubMenuElement: View {
29
Text(text)
30
.bodyStyle()
31
32
+ .frame(width: Constants.itemSize, height: Constants.itemSize)
33
34
35
36
enum Constants {
37
static let paddingBetweenElements: CGFloat = 8
38
+ static let itemSize: CGFloat = 160
39
40
41
0 commit comments