Fixing keyboard does not activate on inputs #953

This commit is contained in:
Lucas 2021-09-22 09:26:29 -03:00
parent ca08f71a72
commit 7c30d33554
2 changed files with 1 additions and 14 deletions

View file

@ -397,19 +397,6 @@ public class WalletFragment extends BaseFragment implements SdkStatusListener, W
}
});
inputSendAddress.setOnFocusChangeListener(new View.OnFocusChangeListener() {
@Override
public void onFocusChange(View view, boolean hasFocus) {
inputSendAddress.setHint(hasFocus ? getString(R.string.recipient_address_placeholder) : "");
}
});
inputSendAmount.setOnFocusChangeListener(new View.OnFocusChangeListener() {
@Override
public void onFocusChange(View view, boolean hasFocus) {
inputSendAmount.setHint(hasFocus ? getString(R.string.zero) : "");
inlineBalanceContainer.setVisibility(hasFocus ? View.VISIBLE : View.INVISIBLE);
}
});
layoutSdkInitializing.setVisibility(Lbry.SDK_READY ? View.GONE : View.VISIBLE);
layoutAccountRecommended.setVisibility(hasSkippedAccount() || Lbryio.isSignedIn() ? View.GONE : View.VISIBLE);