diff options
author | Harsh Shandilya <msfjarvis@gmail.com> | 2020-09-24 13:38:14 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 13:38:14 +0530 |
commit | 6203855b1583dc72bb32062aa655cf5190643a24 (patch) | |
tree | a5cadcfa902b32f89fe0fc0251eddfa54c276449 /app/src/main/java | |
parent | 56f4dedb5b82f0efde73d377704f2b23d094e323 (diff) |
Restore settings button to onboarding screen (#1119)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/ui/onboarding/fragments/WelcomeFragment.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/ui/onboarding/fragments/WelcomeFragment.kt b/app/src/main/java/com/zeapo/pwdstore/ui/onboarding/fragments/WelcomeFragment.kt index 4f4734d4..2ebab29f 100644 --- a/app/src/main/java/com/zeapo/pwdstore/ui/onboarding/fragments/WelcomeFragment.kt +++ b/app/src/main/java/com/zeapo/pwdstore/ui/onboarding/fragments/WelcomeFragment.kt @@ -5,11 +5,13 @@ package com.zeapo.pwdstore.ui.onboarding.fragments +import android.content.Intent import android.os.Bundle import android.view.View import androidx.annotation.Keep import androidx.fragment.app.Fragment import com.zeapo.pwdstore.R +import com.zeapo.pwdstore.UserPreference import com.zeapo.pwdstore.databinding.FragmentWelcomeBinding import com.zeapo.pwdstore.utils.performTransactionWithBackStack import com.zeapo.pwdstore.utils.viewBinding @@ -23,5 +25,6 @@ class WelcomeFragment : Fragment(R.layout.fragment_welcome) { override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) binding.letsGo.setOnClickListener { parentFragmentManager.performTransactionWithBackStack(CloneFragment.newInstance()) } + binding.settingsButton.setOnClickListener { startActivity(Intent(requireContext(), UserPreference::class.java)) } } } |