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