transfer button enables after you fill required feilds

This commit is contained in:
2026-05-19 16:50:49 +05:00
parent 19f4d01015
commit 399cfbf108
2 changed files with 16 additions and 1 deletions
@@ -56,7 +56,7 @@ class OnboardingActivity : AppCompatActivity(), SecuritySetupFragment.Callback {
}
// Pre-select language button without triggering the listener
val savedLang = prefs.getString("language", null)
val savedLang = prefs.getString("language", null) ?: "en".also { selectLanguage(it) }
binding.languageToggle.clearOnButtonCheckedListeners()
when (savedLang) {
"en" -> binding.btnLangEnglish.isChecked = true