From 4b351086a10ca46ef1b22f01d3254b9a92619f2c Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Thu, 16 Jan 2025 14:29:12 +0100 Subject: [PATCH] use lifecycleScope from chatActivity in OutcomingTextMessageViewHolder defining an own scope and clearing it via onViewRecycled did not work out somehow (offline icon was wrong) Signed-off-by: Marcel Hibbe [skip ci] --- .../talk/adapters/messages/OutcomingTextMessageViewHolder.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/OutcomingTextMessageViewHolder.kt b/app/src/main/java/com/nextcloud/talk/adapters/messages/OutcomingTextMessageViewHolder.kt index b056ec0d8..8dfd318dc 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/messages/OutcomingTextMessageViewHolder.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/OutcomingTextMessageViewHolder.kt @@ -14,6 +14,7 @@ import android.util.Log import android.util.TypedValue import android.view.View import androidx.core.content.res.ResourcesCompat +import androidx.lifecycle.lifecycleScope import autodagger.AutoInjector import coil.load import com.google.android.flexbox.FlexboxLayout