Loading app/src/main/java/foundation/e/accountmanager/ui/setup/EeloAuthenticatorFragment.kt +11 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,17 @@ class EeloAuthenticatorFragment : Fragment() { val view = inflater.inflate(R.layout.fragment_eelo_authenticator, container, false) view.urlpwd_other_account_title_panel.setOnClickListener(){ expandCollapse() } view.urlpwd_user_name.setOnFocusChangeListener() { v, hasFocus -> if (!hasFocus ) { if (v.urlpwd_user_name.text.toString().contains("@")) { val dns = v.urlpwd_user_name.text.toString().substringAfter("@") val pre_custom_url = "https://" + dns view.urlpwd_server_uri.setText(pre_custom_url) } else { view.urlpwd_server_uri.setText("") } } } view.login.setOnClickListener { login() } Loading Loading
app/src/main/java/foundation/e/accountmanager/ui/setup/EeloAuthenticatorFragment.kt +11 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,17 @@ class EeloAuthenticatorFragment : Fragment() { val view = inflater.inflate(R.layout.fragment_eelo_authenticator, container, false) view.urlpwd_other_account_title_panel.setOnClickListener(){ expandCollapse() } view.urlpwd_user_name.setOnFocusChangeListener() { v, hasFocus -> if (!hasFocus ) { if (v.urlpwd_user_name.text.toString().contains("@")) { val dns = v.urlpwd_user_name.text.toString().substringAfter("@") val pre_custom_url = "https://" + dns view.urlpwd_server_uri.setText(pre_custom_url) } else { view.urlpwd_server_uri.setText("") } } } view.login.setOnClickListener { login() } Loading