fix(chat-room settings): 배경 사진 -> 배경 이미지 로 변경
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user