Commit 08af5a21 authored by HarveyDoom's avatar HarveyDoom Committed by GitHub

Moved requestFocus() to parent class.

parent 77849b3e
......@@ -52,12 +52,6 @@ public class AddChannelDialogFragment extends AbstractAddRoomDialogFragment {
buttonAddChannel.setOnClickListener(view -> createRoom());
requestFocus(channelNameText);
}
private void requestFocus(View view) {
if (view.requestFocus()) {
getDialog().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
}
}
private boolean isChecked(int viewId) {
CompoundButton check = (CompoundButton) getDialog().findViewById(viewId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment