From 6a688bea4ce29249c0e79d3645fdfac393e557d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B1=84=ED=98=84?= Date: Wed, 23 Oct 2024 15:53:26 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20connection=20error=20=ED=95=B8=EB=93=A4?= =?UTF-8?q?=EB=A7=81=20=EB=B0=A9=EC=8B=9D=20=EC=88=98=EC=A0=95=20(#621)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * refactor: connection error 핸들링 변경 * feat: 다크모드시 채팅 내용 안보이는 현상 변경 --- .../presentation/view/commentdetail/CommentDetailViewModel.kt | 2 ++ android/app/src/main/res/layout/activity_comment_detail.xml | 1 + 2 files changed, 3 insertions(+) diff --git a/android/app/src/main/java/com/zzang/chongdae/presentation/view/commentdetail/CommentDetailViewModel.kt b/android/app/src/main/java/com/zzang/chongdae/presentation/view/commentdetail/CommentDetailViewModel.kt index f72bfc77e..ef230f7ad 100644 --- a/android/app/src/main/java/com/zzang/chongdae/presentation/view/commentdetail/CommentDetailViewModel.kt +++ b/android/app/src/main/java/com/zzang/chongdae/presentation/view/commentdetail/CommentDetailViewModel.kt @@ -230,6 +230,8 @@ class CommentDetailViewModel } } + DataError.Network.CONNECTION_ERROR -> {} + else -> { return@launch } diff --git a/android/app/src/main/res/layout/activity_comment_detail.xml b/android/app/src/main/res/layout/activity_comment_detail.xml index 69bd4219a..b9c769a2b 100644 --- a/android/app/src/main/res/layout/activity_comment_detail.xml +++ b/android/app/src/main/res/layout/activity_comment_detail.xml @@ -271,6 +271,7 @@ android:paddingEnd="@dimen/margin_30" android:paddingBottom="@dimen/size_14" android:text="@={vm.commentContent}" + android:textColor="@color/black" android:textColorHint="@color/gray_500" android:textSize="@dimen/size_15" app:layout_constraintBottom_toBottomOf="parent"