크리에이터 채널 - 팔로우/팔로잉 버튼 로컬 라이징 적용
This commit is contained in:
@@ -41,12 +41,12 @@ struct FollowerListItemView: View {
|
||||
Spacer()
|
||||
|
||||
if let isFollow = item.isFollow, let isNotify = item.isNotify {
|
||||
Image(isFollow ?
|
||||
isNotify ?
|
||||
"btn_following_big" :
|
||||
"btn_following_no_alarm_big" :
|
||||
"btn_follow_big"
|
||||
let asset = FollowButtonImageAsset(
|
||||
type: isFollow
|
||||
? (isNotify ? .following : .followingNoAlarm)
|
||||
: .follow
|
||||
)
|
||||
asset.imageView()
|
||||
.onTapGesture {
|
||||
isFollow ?
|
||||
showCreatorFollowNotifyDialog(item.userId) :
|
||||
|
||||
Reference in New Issue
Block a user