mirror of
https://github.com/m2049r/xmrwallet
synced 2025-04-09 23:42:05 +02:00
Minor fixes (#88)
* another attempt to fix android.view.WindowManager * trim entered daemon
This commit is contained in:
parent
10ea6d8e0c
commit
94947de9ef
@ -186,7 +186,7 @@ public class LoginFragment extends Fragment {
|
||||
etDaemonAddress.setOnFocusChangeListener(new View.OnFocusChangeListener() {
|
||||
@Override
|
||||
public void onFocusChange(View v, boolean hasFocus) {
|
||||
if (hasFocus && !getActivity().isFinishing()) {
|
||||
if (hasFocus && !getActivity().isFinishing() && etDaemonAddress.isLaidOut()) {
|
||||
etDaemonAddress.showDropDown();
|
||||
Helper.showKeyboard(getActivity());
|
||||
}
|
||||
@ -376,7 +376,7 @@ public class LoginFragment extends Fragment {
|
||||
}
|
||||
|
||||
String getDaemon() {
|
||||
return etDaemonAddress.getText().toString();
|
||||
return etDaemonAddress.getText().toString().trim();
|
||||
}
|
||||
|
||||
void setDaemon(NodeList nodeList) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user