We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c05d171 commit f60bebfCopy full SHA for f60bebf
1 file changed
Sources/AppLibrary/SettingAppItemCell.swift
@@ -8,6 +8,9 @@
8
import SwiftUI
9
10
public struct SettingAppItemCell: View {
11
+
12
+ @Environment(\.openURL) var openURL
13
14
public var meta: AppMetaData
15
16
public init(meta: AppMetaData) {
@@ -30,6 +33,10 @@ public struct SettingAppItemCell: View {
30
33
}
31
34
32
35
.padding(.vertical, 8)
36
+ .contentShape(Rectangle())
37
+ .onTapGesture {
38
+ openURL(URL(string: meta.storeURL())!)
39
+ }
40
41
42
0 commit comments