parent
b3351ceb8b
commit
1b64b84bdc
|
@ -29,6 +29,7 @@ import kr.co.vividnext.sodalive.base.SodaDialog
|
||||||
import kr.co.vividnext.sodalive.common.Constants
|
import kr.co.vividnext.sodalive.common.Constants
|
||||||
import kr.co.vividnext.sodalive.common.LoadingDialog
|
import kr.co.vividnext.sodalive.common.LoadingDialog
|
||||||
import kr.co.vividnext.sodalive.common.RealPathUtil
|
import kr.co.vividnext.sodalive.common.RealPathUtil
|
||||||
|
import kr.co.vividnext.sodalive.common.SharedPreferenceManager
|
||||||
import kr.co.vividnext.sodalive.databinding.ActivityAuditionRoleDetailBinding
|
import kr.co.vividnext.sodalive.databinding.ActivityAuditionRoleDetailBinding
|
||||||
import kr.co.vividnext.sodalive.explorer.profile.UserProfileActivity
|
import kr.co.vividnext.sodalive.explorer.profile.UserProfileActivity
|
||||||
import kr.co.vividnext.sodalive.explorer.profile.creator_community.write.RecordingVoiceFragment
|
import kr.co.vividnext.sodalive.explorer.profile.creator_community.write.RecordingVoiceFragment
|
||||||
|
@ -158,17 +159,28 @@ class AuditionRoleDetailActivity : BaseActivity<ActivityAuditionRoleDetailBindin
|
||||||
}
|
}
|
||||||
|
|
||||||
binding.tvApplicant.setOnClickListener {
|
binding.tvApplicant.setOnClickListener {
|
||||||
if (reApplication) {
|
if (SharedPreferenceManager.isAuth) {
|
||||||
|
if (reApplication) {
|
||||||
|
SodaDialog(
|
||||||
|
activity = this@AuditionRoleDetailActivity,
|
||||||
|
layoutInflater = layoutInflater,
|
||||||
|
title = "재지원 안내",
|
||||||
|
desc = "재지원 시 이전 지원 내역은 삭제되며 받은 투표수는 무효 처리됩니다.",
|
||||||
|
confirmButtonTitle = "확인",
|
||||||
|
confirmButtonClick = { showApplicationMethodDialog() }
|
||||||
|
).show(screenWidth)
|
||||||
|
} else {
|
||||||
|
showApplicationMethodDialog()
|
||||||
|
}
|
||||||
|
} else {
|
||||||
SodaDialog(
|
SodaDialog(
|
||||||
activity = this@AuditionRoleDetailActivity,
|
activity = this@AuditionRoleDetailActivity,
|
||||||
layoutInflater = layoutInflater,
|
layoutInflater = layoutInflater,
|
||||||
title = "재지원 안내",
|
title = "- 본인인증 -",
|
||||||
desc = "재지원 시 이전 지원 내역은 삭제되며 받은 투표수는 무효 처리됩니다.",
|
desc = "마이페이지에서 '본인인증'을 하고 다시 오디션에 지원해 주세요.",
|
||||||
confirmButtonTitle = "확인",
|
confirmButtonTitle = "확인",
|
||||||
confirmButtonClick = { showApplicationMethodDialog() }
|
confirmButtonClick = {}
|
||||||
).show(screenWidth)
|
).show(screenWidth)
|
||||||
} else {
|
|
||||||
showApplicationMethodDialog()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -374,7 +386,7 @@ class AuditionRoleDetailActivity : BaseActivity<ActivityAuditionRoleDetailBindin
|
||||||
binding.tvApplicant.text = "오디션 재지원"
|
binding.tvApplicant.text = "오디션 재지원"
|
||||||
} else {
|
} else {
|
||||||
reApplication = false
|
reApplication = false
|
||||||
binding.tvApplicant.text = "오디션 지원하기"
|
binding.tvApplicant.text = "오디션 지원"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -234,7 +234,7 @@
|
||||||
android:background="@drawable/bg_round_corner_44_3bb9f1"
|
android:background="@drawable/bg_round_corner_44_3bb9f1"
|
||||||
android:fontFamily="@font/gmarket_sans_bold"
|
android:fontFamily="@font/gmarket_sans_bold"
|
||||||
android:padding="14dp"
|
android:padding="14dp"
|
||||||
android:text="오디션 지원하기"
|
android:text="오디션 지원"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="15.3sp"
|
android:textSize="15.3sp"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
|
Loading…
Reference in New Issue