Removing dumb easter egg for shielding transparent funds
This commit is contained in:
@@ -68,18 +68,9 @@ class ProfileFragment : BaseFragment<FragmentProfileBinding>() {
|
|||||||
true
|
true
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
binding.iconProfile.setOnLongClickListener {
|
|
||||||
tapped(AWESOME_OPEN)
|
|
||||||
onEnterAwesomeMode()
|
|
||||||
true
|
|
||||||
}
|
|
||||||
binding.textBannerMessage.setOnClickListener {
|
binding.textBannerMessage.setOnClickListener {
|
||||||
openPlayStoreLink()
|
openPlayStoreLink()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (viewModel.isEasterEggTriggered()) {
|
|
||||||
binding.iconProfile.setImageResource(R.drawable.ic_profile_zebra_02)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun openPlayStoreLink() {
|
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() {
|
override fun onResume() {
|
||||||
super.onResume()
|
super.onResume()
|
||||||
resumedScope.launch {
|
resumedScope.launch {
|
||||||
|
|||||||
Reference in New Issue
Block a user