Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 3.5 KiB |
|
@ -9,7 +9,7 @@
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "btn_notification.png",
|
"filename" : "btn_follow_big.png",
|
||||||
"idiom" : "universal",
|
"idiom" : "universal",
|
||||||
"scale" : "3x"
|
"scale" : "3x"
|
||||||
}
|
}
|
BIN
SodaLive/Resources/Assets.xcassets/btn_follow_big.imageset/btn_follow_big.png
vendored
Normal file
After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 3.1 KiB |
|
@ -9,7 +9,7 @@
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "btn_notification_selected.png",
|
"filename" : "btn_following_big.png",
|
||||||
"idiom" : "universal",
|
"idiom" : "universal",
|
||||||
"scale" : "3x"
|
"scale" : "3x"
|
||||||
}
|
}
|
BIN
SodaLive/Resources/Assets.xcassets/btn_following_big.imageset/btn_following_big.png
vendored
Normal file
After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.8 KiB |
|
@ -29,7 +29,7 @@ struct ContentDetailCreatorProfileView: View {
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
if creator.creatorId != UserDefaults.int(forKey: .userId) {
|
if creator.creatorId != UserDefaults.int(forKey: .userId) {
|
||||||
Image(creator.isFollowing ? "btn_notification_selected" : "btn_notification")
|
Image(creator.isFollowing ? "btn_following_big" : "btn_follow_big")
|
||||||
.onTapGesture {
|
.onTapGesture {
|
||||||
if creator.isFollowing {
|
if creator.isFollowing {
|
||||||
onClickUnFollow(creator.creatorId)
|
onClickUnFollow(creator.creatorId)
|
||||||
|
|
|
@ -30,7 +30,7 @@ struct FollowerListItemView: View {
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
if let isFollow = item.isFollow {
|
if let isFollow = item.isFollow {
|
||||||
Image(isFollow ? "btn_notification_selected" : "btn_notification")
|
Image(isFollow ? "btn_following_big" : "btn_follow_big")
|
||||||
.onTapGesture {
|
.onTapGesture {
|
||||||
isFollow ?
|
isFollow ?
|
||||||
creatorUnFollow(item.userId) :
|
creatorUnFollow(item.userId) :
|
||||||
|
|
|
@ -57,7 +57,7 @@ struct UserProfileCreatorView: View {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
VStack(alignment: .leading, spacing: 9.3) {
|
VStack(alignment: .leading, spacing: 9.3) {
|
||||||
Image(creator.isNotification ? "btn_notification_selected" : "btn_notification")
|
Image(creator.isNotification ? "btn_following_big" : "btn_follow_big")
|
||||||
.resizable()
|
.resizable()
|
||||||
.frame(width: 83.3, height: 26.7)
|
.frame(width: 83.3, height: 26.7)
|
||||||
.onTapGesture {
|
.onTapGesture {
|
||||||
|
|
|
@ -31,7 +31,7 @@ struct FollowCreatorItemView: View {
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
Image(isFollow ? "btn_notification_selected" : "btn_notification")
|
Image(isFollow ? "btn_following_big" : "btn_follow_big")
|
||||||
.onTapGesture {
|
.onTapGesture {
|
||||||
if isFollow {
|
if isFollow {
|
||||||
onClickUnFollow(creator.creatorId)
|
onClickUnFollow(creator.creatorId)
|
||||||
|
|
|
@ -63,18 +63,17 @@ struct LiveRoomInfoCreatorView: View {
|
||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
Text(creatorNickname)
|
HStack(spacing: 5.3) {
|
||||||
.font(.custom(Font.medium.rawValue, size: 12))
|
Text(creatorNickname)
|
||||||
.foregroundColor(.gray77)
|
.font(.custom(Font.medium.rawValue, size: 12))
|
||||||
}
|
.foregroundColor(.gray77)
|
||||||
|
|
||||||
if isShowFollowingButton {
|
if isShowFollowingButton {
|
||||||
Image(isFollowing ? "btn_select_checked" : "btn_plus_round")
|
Image(isFollowing ? "btn_following" : "btn_follow")
|
||||||
.resizable()
|
.onTapGesture { onClickFollow() }
|
||||||
.frame(width: 20, height: 20)
|
}
|
||||||
.onTapGesture { onClickFollow() }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.padding(.vertical, 8)
|
.padding(.vertical, 8)
|
||||||
.padding(.horizontal, 5.3)
|
.padding(.horizontal, 5.3)
|
||||||
|
|