Removing dumb easter egg for shielding transparent funds
This commit is contained in:
@@ -68,18 +68,9 @@ class ProfileFragment : BaseFragment<FragmentProfileBinding>() {
|
||||
true
|
||||
}*/
|
||||
|
||||
binding.iconProfile.setOnLongClickListener {
|
||||
tapped(AWESOME_OPEN)
|
||||
onEnterAwesomeMode()
|
||||
true
|
||||
}
|
||||
binding.textBannerMessage.setOnClickListener {
|
||||
openPlayStoreLink()
|
||||
}
|
||||
|
||||
if (viewModel.isEasterEggTriggered()) {
|
||||
binding.iconProfile.setImageResource(R.drawable.ic_profile_zebra_02)
|
||||
}
|
||||
}
|
||||
|
||||
private fun openPlayStoreLink() {
|
||||
@@ -88,14 +79,6 @@ class ProfileFragment : BaseFragment<FragmentProfileBinding>() {
|
||||
}
|
||||
}
|
||||
|
||||
private fun onEnterAwesomeMode() {
|
||||
(context as? MainActivity)?.safeNavigate(R.id.action_nav_profile_to_nav_awesome)
|
||||
?: throw IllegalStateException(
|
||||
"Cannot navigate from this activity. " +
|
||||
"Expected MainActivity but found ${context?.javaClass?.simpleName}"
|
||||
)
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
resumedScope.launch {
|
||||
|
||||
Reference in New Issue
Block a user