크리에이터 채널 - 팔로우/팔로잉 버튼 로컬 라이징 적용
This commit is contained in:
@@ -47,13 +47,12 @@ struct UserProfileView: View {
|
||||
.foregroundColor(.white)
|
||||
|
||||
if creatorProfile.creator.creatorId != UserDefaults.int(forKey: .userId) {
|
||||
Image(
|
||||
creatorProfile.creator.isFollow ?
|
||||
creatorProfile.creator.isNotify ? "btn_following_big": "btn_following_no_alarm_big"
|
||||
: "btn_follow_big"
|
||||
let asset = FollowButtonImageAsset(
|
||||
type: creatorProfile.creator.isFollow
|
||||
? (creatorProfile.creator.isNotify ? .following : .followingNoAlarm)
|
||||
: .follow
|
||||
)
|
||||
.resizable()
|
||||
.frame(width: 83.3, height: 26.7)
|
||||
asset.imageView(defaultSize: CGSize(width: 83.3, height: 26.7))
|
||||
.onTapGesture {
|
||||
if creatorProfile.creator.isFollow {
|
||||
isShowFollowNotifyDialog = true
|
||||
|
||||
Reference in New Issue
Block a user