Converted RetroUtil to Kotlin
This commit is contained in:
parent
6cc1ba746a
commit
e605b8c695
23 changed files with 175 additions and 175 deletions
|
@ -12,7 +12,7 @@ class InsetsConstraintLayout @JvmOverloads constructor(
|
|||
defStyleAttr: Int = 0
|
||||
) : ConstraintLayout(context, attrs, defStyleAttr) {
|
||||
init {
|
||||
if (!RetroUtil.isLandscape())
|
||||
if (!RetroUtil.isLandscape)
|
||||
drawAboveSystemBarsWithPadding()
|
||||
}
|
||||
}
|
|
@ -12,7 +12,7 @@ class InsetsLinearLayout @JvmOverloads constructor(
|
|||
defStyleAttr: Int = 0
|
||||
) : LinearLayout(context, attrs, defStyleAttr) {
|
||||
init {
|
||||
if (!RetroUtil.isLandscape())
|
||||
if (!RetroUtil.isLandscape)
|
||||
drawAboveSystemBarsWithPadding()
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue