mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-10-25 21:25:13 +00:00
fix: disable referrer input when pre-filled from deep link
Prevent user from editing or clearing the referrer address when it comes from a referral deep link to ensure correct on-chain submission.
This commit is contained in:
1 parent
33c6559a41
commit
66be33c43e
1 file changed
+3
+3
@@ -65,6 +65,9 @@ class CitizenshipBottomSheet : BaseBottomSheetFragment<CitizenshipViewModel, Fra
|
||||
val referrer = arguments?.getString(KEY_REFERRER)
|
||||
if (!referrer.isNullOrBlank()) {
|
||||
binder.citizenshipReferrerInput.setText(referrer)
|
||||
binder.citizenshipReferrerInput.isEnabled = false
|
||||
binder.citizenshipReferrerLayout.isEnabled = false
|
||||
binder.citizenshipReferrerLayout.hint = getString(R.string.citizenship_referrer_hint)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user