forked from shihaam/thijooree
Fix bug that said Cards in tap to pay screen when launched from shortcut and user didnt have biometrics enabled
This commit is contained in:
@@ -1037,7 +1037,11 @@ class CardsFragment : Fragment() {
|
|||||||
|
|
||||||
override fun onResume() {
|
override fun onResume() {
|
||||||
super.onResume()
|
super.onResume()
|
||||||
requireActivity().title = getString(R.string.nav_pay_with_card)
|
requireActivity().title = getString(when {
|
||||||
|
isTapMode -> R.string.card_pay_nfc
|
||||||
|
isManageMode -> R.string.card_manage
|
||||||
|
else -> R.string.nav_pay_with_card
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onDestroyView() {
|
override fun onDestroyView() {
|
||||||
|
|||||||
Reference in New Issue
Block a user