From 9cdff074cac27cd68ed5e8bd14b66bff0a9eb6ee Mon Sep 17 00:00:00 2001 From: Warakorn Sitthirit Date: Thu, 15 Jun 2023 21:21:00 +0700 Subject: [PATCH] chore: Update code to Jocasta release --- buildsystem/dependencies.gradle | 2 +- sample/build.gradle | 2 +- .../community/newsfeed/fragment/AmityPostDetailFragment.kt | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/buildsystem/dependencies.gradle b/buildsystem/dependencies.gradle index d6823200..1acdce3b 100644 --- a/buildsystem/dependencies.gradle +++ b/buildsystem/dependencies.gradle @@ -10,7 +10,7 @@ buildscript { amityKotlinVersion = "1.6.20" amityLifecycleExtensionVersion = "2.0.0" amityMockkVersion = "1.10.0" - amityMessagingSdkVersion = '6.8.0' + amityMessagingSdkVersion = '6.9.0' amityRxLifeCycleVersion = '1.1.2-beta01' amityJacocoVersion = '0.8.5' diff --git a/sample/build.gradle b/sample/build.gradle index 944a1bec..580d6e35 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -13,7 +13,7 @@ android { minSdkVersion 21 targetSdkVersion 33 versionCode 1 - versionName "3.3.0" + versionName "3.4.0" multiDexEnabled true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/social/src/main/java/com/amity/socialcloud/uikit/community/newsfeed/fragment/AmityPostDetailFragment.kt b/social/src/main/java/com/amity/socialcloud/uikit/community/newsfeed/fragment/AmityPostDetailFragment.kt index f6e3e8e9..ec486423 100644 --- a/social/src/main/java/com/amity/socialcloud/uikit/community/newsfeed/fragment/AmityPostDetailFragment.kt +++ b/social/src/main/java/com/amity/socialcloud/uikit/community/newsfeed/fragment/AmityPostDetailFragment.kt @@ -248,6 +248,7 @@ class AmityPostDetailFragment : AmityBaseFragment(), } private fun setupComposeBar(post: AmityPost) { + binding.viewBottom.visibility = if (isJoined(post)) View.VISIBLE else View.INVISIBLE binding.commentComposeBar.getPostButton().setOnClickListener { val commentId = ObjectId.get().toHexString() viewModel.addComment(