From e052bc99f643f33ba9615e69dac926c0fa13f5e2 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 18 Apr 2024 01:17:36 +0200 Subject: [PATCH] Fix compilation issue. --- .../element/android/features/call/ui/ElementCallActivity.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/features/call/src/main/kotlin/io/element/android/features/call/ui/ElementCallActivity.kt b/features/call/src/main/kotlin/io/element/android/features/call/ui/ElementCallActivity.kt index 8eea4c814f..ded5b11c8f 100644 --- a/features/call/src/main/kotlin/io/element/android/features/call/ui/ElementCallActivity.kt +++ b/features/call/src/main/kotlin/io/element/android/features/call/ui/ElementCallActivity.kt @@ -121,13 +121,11 @@ class ElementCallActivity : NodeComponentActivity(), CallScreenNavigator { override fun onConfigurationChanged(newConfig: Configuration) { super.onConfigurationChanged(newConfig) - updateUiMode(newConfig) } - override fun onNewIntent(intent: Intent?) { + override fun onNewIntent(intent: Intent) { super.onNewIntent(intent) - setCallType(intent) }