Skip to content

Commit

Permalink
chore: fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rnr committed Dec 17, 2024
1 parent e50d5f9 commit 7cc91f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Core/Core/View/Base/LogistrationBottomView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ public enum LogistrationSourceScreen: Equatable, Sendable {
case discovery
case courseDetail(String, String)
case programDetails(String)

public var value: String? {
return String(describing: self).components(separatedBy: "(").first
}
}

public enum LogistrationAction: Sendable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ extension DiscoveryWebviewViewModel: WebViewNavigationDelegate {
screen: self?.sourceScreen.value ?? "",
action: "cancel"
)
}, okTapped: {
}, okTapped: { [weak self] in
UIApplication.shared.open(url, options: [:])
self?.analytics.externalLinkOpenAction(
url: url.absoluteString,
Expand Down

0 comments on commit 7cc91f2

Please sign in to comment.