Skip to content

Commit

Permalink
[Fix/#88] 오픈 채팅 링크 연결
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-seonwoo committed Sep 2, 2024
1 parent cbfc1c7 commit 0ab349a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions HMH_iOS/HMH_iOS/Global/Resource/String.swift
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ enum StringLiteral {
enum MyPageURL {
static var term = "https://msmmx.notion.site/33acb29be57245f394eb93ddb2e3b8cc"
static var info = "https://msmmx.notion.site/7006ac1eb36545c38ea2bdfc7e34d2cb"
static var openChat = "https://open.kakao.com/o/s5Im8leg"
}

enum Prepare {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ class MyPageViewModel: ObservableObject {
guard let url = URL(string: StringLiteral.MyPageURL.info) else {return}
UIApplication.shared.open(url)
case .market:
navigateToPrepare = true
guard let url = URL(string: StringLiteral.MyPageURL.openChat) else {return}
UIApplication.shared.open(url)
Amplitude.instance().logEvent("view_shop", withEventProperties: ["view_type": "mypage"] )
default:
return
Expand Down

0 comments on commit 0ab349a

Please sign in to comment.