Commit 619db826 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Prevent UninitializedPropertyAccessException

parent 83b56675
......@@ -129,6 +129,7 @@ class EmptyLoadingStateView : FrameLayout {
private fun applyCompactMode() {
if (!::container.isInitialized) return
if (compactMode) compactConstraintSet.applyTo(container) else normalConstraintSet.applyTo(container)
emptyTextView.gravity = if (compactMode) Gravity.START else Gravity.CENTER
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