Skip to content

Commit

Permalink
add privacy policy and T&C
Browse files Browse the repository at this point in the history
  • Loading branch information
martyu committed Oct 2, 2024
1 parent 4e0bf9b commit 5e5c52e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion iosApp/Modules/Screens/Main/UI/TabEnums.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ enum MainViewModelTab: CaseIterable {
extension MainViewModelTab: CustomStringConvertible, Identifiable {
var description: String {
switch self {
case .profile: return "Profile"
case .profile: return "Account"
case .library: return "Library"
}
}
Expand Down
12 changes: 4 additions & 8 deletions iosApp/Modules/Screens/Profile/ProfileView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -160,20 +160,16 @@ extension ProfileView {
Spacer()

VStack(spacing: 10) {
Button(action: {
// Terms & Conditions action
}) {
Text("Terms & Conditions")
Link(destination: URL(string: "https://newm.io/app-tos")!) {
Text("Privacy & Policy")
.frame(maxWidth: .infinity)
.padding()
.background(Gradients.mainPrimary.opacity(0.08))
.foregroundColor(NEWMColor.midMusic.swiftUIColor)
.cornerRadius(8)
}

Button(action: {
// Privacy & Policy action
}) {

Link(destination: URL(string: "https://newm.io/app-privacy")!) {
Text("Privacy & Policy")
.frame(maxWidth: .infinity)
.padding()
Expand Down

0 comments on commit 5e5c52e

Please sign in to comment.