Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.catchmate.presentation.view.onboarding

import android.content.Intent
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.view.View
Expand Down Expand Up @@ -80,6 +82,24 @@ class TermsAndConditionFragment : BaseFragment<FragmentTermsAndConditionBinding>
isThirdChecked = cbCheckThirdTermsAndCondition.isChecked
updateButtonState()
}

ivCheckFirstTermsAndCondition.setOnClickListener {
val url = "https://catchmate.notion.site/19690504ec15803588a7ca69b306bf3e"
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
startActivity(intent)
}

ivCheckSecondTermsAndCondition.setOnClickListener {
val url = "https://catchmate.notion.site/19690504ec15804ba163fcf8fa0ab937"
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
startActivity(intent)
}

ivCheckThirdTermsAndCondition.setOnClickListener {
val url = "https://catchmate.notion.site/1b890504ec15805fa95ef55c252d53e6"
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
startActivity(intent)
}
}
}

Expand Down
Loading