From 128a75af218f6bee0935fcfd5d3d5b966497e81d Mon Sep 17 00:00:00 2001 From: Jaewoong Eum Date: Tue, 31 Oct 2023 11:23:05 +0900 Subject: [PATCH 1/2] Move devToken inside the StreamVideo's companion object (#895) --- .../api/stream-video-android-core.api | 2 +- .../io/getstream/video/android/core/StreamVideo.kt | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/stream-video-android-core/api/stream-video-android-core.api b/stream-video-android-core/api/stream-video-android-core.api index 3eb1a5d911..3203db6b08 100644 --- a/stream-video-android-core/api/stream-video-android-core.api +++ b/stream-video-android-core/api/stream-video-android-core.api @@ -729,7 +729,6 @@ public abstract interface class io/getstream/video/android/core/StreamVideo : io public abstract fun connectAsync (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public abstract fun createDevice (Lio/getstream/android/push/PushDevice;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public abstract fun deleteDevice (Lio/getstream/video/android/model/Device;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun devToken (Ljava/lang/String;)Ljava/lang/String; public abstract fun getContext ()Landroid/content/Context; public abstract fun getEdges (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public abstract fun getState ()Lio/getstream/video/android/core/ClientState; @@ -745,6 +744,7 @@ public abstract interface class io/getstream/video/android/core/StreamVideo : io } public final class io/getstream/video/android/core/StreamVideo$Companion { + public final fun devToken (Ljava/lang/String;)Ljava/lang/String; public final fun instance ()Lio/getstream/video/android/core/StreamVideo; public final fun instanceOrNull ()Lio/getstream/video/android/core/StreamVideo; public final fun isInstalled ()Z diff --git a/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/StreamVideo.kt b/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/StreamVideo.kt index 6ba52e539d..a2bd07bfaa 100644 --- a/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/StreamVideo.kt +++ b/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/StreamVideo.kt @@ -215,14 +215,14 @@ public interface StreamVideo : NotificationHandler { internalStreamVideo?.cleanup() internalStreamVideo = null } - } - /** - * Generate a developer token that can be used to connect users while the app is using a development environment. - * - * @param userId the desired id of the user to be connected. - */ - public fun devToken(userId: String): String = TokenUtils.devToken(userId) + /** + * Generate a developer token that can be used to connect users while the app is using a development environment. + * + * @param userId the desired id of the user to be connected. + */ + public fun devToken(userId: String): String = TokenUtils.devToken(userId) + } public fun cleanup() } From d4dcd7dbe6ffadef27f8b84b06586f0a5b7fa799 Mon Sep 17 00:00:00 2001 From: Jaewoong Eum Date: Tue, 31 Oct 2023 11:45:36 +0900 Subject: [PATCH 2/2] Update tint color for the reaction action button (#896) --- .../ui/components/call/controls/actions/ReactionAction.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/stream-video-android-compose/src/main/kotlin/io/getstream/video/android/compose/ui/components/call/controls/actions/ReactionAction.kt b/stream-video-android-compose/src/main/kotlin/io/getstream/video/android/compose/ui/components/call/controls/actions/ReactionAction.kt index 9b3f399f26..fc5ab38a01 100644 --- a/stream-video-android-compose/src/main/kotlin/io/getstream/video/android/compose/ui/components/call/controls/actions/ReactionAction.kt +++ b/stream-video-android-compose/src/main/kotlin/io/getstream/video/android/compose/ui/components/call/controls/actions/ReactionAction.kt @@ -58,7 +58,6 @@ public fun ReactionAction( modifier = Modifier .padding(12.dp) .clickable(enabled = enabled) { onCallAction(Reaction) }, - tint = Color.White, painter = painterResource(id = R.drawable.stream_video_ic_reaction), contentDescription = stringResource(R.string.stream_video_call_controls_reaction), )