From 6a6e66765a0b0f95eace886e50e11a12c587fc9c Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 1 Jul 2024 14:31:26 +0200 Subject: [PATCH] Remove default value for languageTag and theme. --- .../android/features/call/impl/ui/CallScreenPresenter.kt | 2 ++ .../android/features/call/impl/utils/CallWidgetProvider.kt | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/features/call/impl/src/main/kotlin/io/element/android/features/call/impl/ui/CallScreenPresenter.kt b/features/call/impl/src/main/kotlin/io/element/android/features/call/impl/ui/CallScreenPresenter.kt index 4e23f23501..6246ab6466 100644 --- a/features/call/impl/src/main/kotlin/io/element/android/features/call/impl/ui/CallScreenPresenter.kt +++ b/features/call/impl/src/main/kotlin/io/element/android/features/call/impl/ui/CallScreenPresenter.kt @@ -189,6 +189,8 @@ class CallScreenPresenter @AssistedInject constructor( sessionId = inputs.sessionId, roomId = inputs.roomId, clientId = UUID.randomUUID().toString(), + languageTag = null, + theme = null, ).getOrThrow() callWidgetDriver.value = result.driver result.url diff --git a/features/call/impl/src/main/kotlin/io/element/android/features/call/impl/utils/CallWidgetProvider.kt b/features/call/impl/src/main/kotlin/io/element/android/features/call/impl/utils/CallWidgetProvider.kt index 61843c471a..7152bdddad 100644 --- a/features/call/impl/src/main/kotlin/io/element/android/features/call/impl/utils/CallWidgetProvider.kt +++ b/features/call/impl/src/main/kotlin/io/element/android/features/call/impl/utils/CallWidgetProvider.kt @@ -25,8 +25,8 @@ interface CallWidgetProvider { sessionId: SessionId, roomId: RoomId, clientId: String, - languageTag: String? = null, - theme: String? = null, + languageTag: String?, + theme: String?, ): Result data class GetWidgetResult(