Fixed crash reported via Crashlytics
This commit is contained in:
parent
7db83a3ceb
commit
e486993654
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ class OutgoingCallActivity : ProximitySensorActivity() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Hide the numpad here as we can't set the translationX property on include tag in layout
|
// Hide the numpad here as we can't set the translationX property on include tag in layout
|
||||||
if (controlsViewModel.numpadVisibility.value == false) {
|
if (this::controlsViewModel.isInitialized && controlsViewModel.numpadVisibility.value == false) {
|
||||||
findViewById<FlexboxLayout>(R.id.numpad)?.translationX = -screenWidth
|
findViewById<FlexboxLayout>(R.id.numpad)?.translationX = -screenWidth
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue