Skip to content

Commit

Permalink
Fix to send user to bounties list if they are already logged in. Don'…
Browse files Browse the repository at this point in the history
…t need to check if they are actually a mapper
  • Loading branch information
davkutalek committed Nov 16, 2023
1 parent c602d4b commit 7072411
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,11 @@ class BountyApplicationFragment : Fragment(), View.OnClickListener {
visibility = View.VISIBLE
text = getString(R.string.signed_in_as, staxUser.email)
}
NavUtil.navigate(
findNavController(),
BountyApplicationFragmentDirections.actionBountyApplicationFragmentToBountyListFragment()
)
}
staxUser != null && staxUser.isMapper -> NavUtil.navigate(findNavController(), BountyApplicationFragmentDirections.actionBountyApplicationFragmentToBountyListFragment())
else -> {
signedInDetails.visibility = View.GONE
btnSignIn.apply {
Expand Down

0 comments on commit 7072411

Please sign in to comment.