mirror of https://github.com/m2049r/xmrwallet.git
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() {
|
etDaemonAddress.setOnFocusChangeListener(new View.OnFocusChangeListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onFocusChange(View v, boolean hasFocus) {
|
public void onFocusChange(View v, boolean hasFocus) {
|
||||||
if (hasFocus && !getActivity().isFinishing()) {
|
if (hasFocus && !getActivity().isFinishing() && etDaemonAddress.isLaidOut()) {
|
||||||
etDaemonAddress.showDropDown();
|
etDaemonAddress.showDropDown();
|
||||||
Helper.showKeyboard(getActivity());
|
Helper.showKeyboard(getActivity());
|
||||||
}
|
}
|
||||||
|
@ -376,7 +376,7 @@ public class LoginFragment extends Fragment {
|
||||||
}
|
}
|
||||||
|
|
||||||
String getDaemon() {
|
String getDaemon() {
|
||||||
return etDaemonAddress.getText().toString();
|
return etDaemonAddress.getText().toString().trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
void setDaemon(NodeList nodeList) {
|
void setDaemon(NodeList nodeList) {
|
||||||
|
|
Loading…
Reference in New Issue