Skip to content

Commit

Permalink
fix: back button
Browse files Browse the repository at this point in the history
  • Loading branch information
Syn-McJ committed Oct 10, 2023
1 parent aae1d5a commit 3bbc7cb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.lifecycle.lifecycleScope
import androidx.navigation.fragment.findNavController
import dagger.hilt.android.AndroidEntryPoint
import de.schildbach.wallet.service.CoinJoinMode
import de.schildbach.wallet.ui.username.CreateUsernamePrivacyViewModel
Expand Down Expand Up @@ -66,7 +65,7 @@ class CoinJoinLevelFragment : Fragment(R.layout.fragment_coinjoin_level) {
}

binding.toolbar.setNavigationOnClickListener {
findNavController().popBackStack()
requireActivity().finish()
}

setMode(viewModel.mixingMode)
Expand Down

0 comments on commit 3bbc7cb

Please sign in to comment.