fix(chat-room settings): 배경 사진 -> 배경 이미지 로 변경

This commit is contained in:
2025-09-05 17:59:54 +09:00
parent cc3aca34f5
commit 0422746267
3 changed files with 8 additions and 8 deletions

View File

@@ -11,13 +11,13 @@ import android.widget.RelativeLayout
import androidx.fragment.app.DialogFragment
import com.google.android.material.switchmaterial.SwitchMaterial
import kr.co.vividnext.sodalive.R
import androidx.core.content.edit
/**
* 채팅방 우측 상단 더보기 버튼 클릭 시 표시되는 전체화면 다이얼로그.
* - 배경 사진 표시 스위치
* - 배경 사진 변경(추후 상세 다이얼로그 예정)
* - 대화 초기화(확인 후 API 호출은 Activity에서 처리)
* - 신고하기(임시 안내)
* - 배경 이미지 표시 스위치
* - 배경 이미지 변경
* - 대화 초기화
*/
class ChatRoomMoreDialogFragment : DialogFragment() {
@@ -48,7 +48,7 @@ class ChatRoomMoreDialogFragment : DialogFragment() {
val switch = view.findViewById<SwitchMaterial>(R.id.sw_background)
switch?.isChecked = prefs.getBoolean(bgKey, true)
switch?.setOnCheckedChangeListener { _, isChecked ->
prefs.edit().putBoolean(bgKey, isChecked).apply()
prefs.edit { putBoolean(bgKey, isChecked) }
(activity as? ChatRoomActivity)?.applyBackgroundVisibility()
}

View File

@@ -32,7 +32,7 @@
android:ellipsize="end"
android:fontFamily="@font/pretendard_bold"
android:maxLines="1"
android:text="배경 사진 선택"
android:text="배경 이미지 선택"
android:textColor="#FFFFFFFF"
android:textSize="20sp" />
</LinearLayout>

View File

@@ -69,7 +69,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:fontFamily="@font/pretendard_bold"
android:text="배경 사진"
android:text="배경 이미지"
android:textColor="#B0BEC5"
android:textSize="18sp" />
@@ -98,7 +98,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/pretendard_bold"
android:text="배경 사진 변경"
android:text="배경 이미지 변경"
android:textColor="#B0BEC5"
android:textSize="18sp" />
</LinearLayout>