remove unnecessary check
This commit is contained in:
parent
db36d3b673
commit
520f78631b
1 changed files with 1 additions and 4 deletions
|
@ -34,10 +34,7 @@ class AddNewDeviceBottomSheet : BaseDialogFragment() {
|
|||
|
||||
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
||||
val dialog = BottomSheetDialog(context!!)
|
||||
val window = dialog.window
|
||||
if (window != null) {
|
||||
dialog.window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE)
|
||||
}
|
||||
dialog.window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE)
|
||||
return dialog
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue