Skip to content

Commit

Permalink
MBL-1064 Update links for Request My Personal Data and Delete Account (
Browse files Browse the repository at this point in the history
…#1939)

* Update links for Request My Personal Data nad Delete My Kickstarter Account

* Update Secrets.java.example

---------

Co-authored-by: Isabel Martin <arkariang@gmail.com>
  • Loading branch information
ycheng-kickstarter and Arkariang committed Jan 31, 2024
1 parent 62034f0 commit 56f808e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ public final class Secrets {
}

public static final class Privacy {
public static final String DELETE_ACCOUNT = "https://kickstarter.privacy";
public static final String REQUEST_DATA = "https://www.kickstarter.privacy";
public static final String TRANSCEND_PRIVACY_REQUEST_FLOW = "https://legal.kickstarter.com/policies/en/?modal=take-control";
}

public static final class HelpCenter {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ class PrivacyActivity : BaseActivity<PrivacyViewModel.ViewModel>() {
binding.followingSwitch.setOnClickListener { this.viewModel.inputs.optIntoFollowing(binding.followingSwitch.isChecked) }
binding.privateProfileSwitch.setOnClickListener { this.viewModel.inputs.showPublicProfile(binding.privateProfileSwitch.isChecked) }
binding.recommendationsSwitch.setOnClickListener { this.viewModel.inputs.optedOutOfRecommendations(binding.recommendationsSwitch.isChecked) }
binding.settingsRequestData.setOnClickListener { showPrivacyWebpage(Secrets.Privacy.REQUEST_DATA) }
binding.settingsDeleteAccount.setOnClickListener { showPrivacyWebpage(Secrets.Privacy.DELETE_ACCOUNT) }
binding.settingsRequestData.setOnClickListener { showPrivacyWebpage(Secrets.Privacy.TRANSCEND_PRIVACY_REQUEST_FLOW) }
binding.settingsDeleteAccount.setOnClickListener { showPrivacyWebpage(Secrets.Privacy.TRANSCEND_PRIVACY_REQUEST_FLOW) }
}

private fun displayPreferences(user: User) {
Expand Down

0 comments on commit 56f808e

Please sign in to comment.