Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 3.5 KiB |
|
@ -9,7 +9,7 @@
|
|||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "btn_notification.png",
|
||||
"filename" : "btn_follow_big.png",
|
||||
"idiom" : "universal",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"filename" : "btn_notification_selected.png",
|
||||
"filename" : "btn_following_big.png",
|
||||
"idiom" : "universal",
|
||||
"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()
|
||||
|
||||
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 {
|
||||
if creator.isFollowing {
|
||||
onClickUnFollow(creator.creatorId)
|
||||
|
|
|
@ -30,7 +30,7 @@ struct FollowerListItemView: View {
|
|||
Spacer()
|
||||
|
||||
if let isFollow = item.isFollow {
|
||||
Image(isFollow ? "btn_notification_selected" : "btn_notification")
|
||||
Image(isFollow ? "btn_following_big" : "btn_follow_big")
|
||||
.onTapGesture {
|
||||
isFollow ?
|
||||
creatorUnFollow(item.userId) :
|
||||
|
|
|
@ -57,7 +57,7 @@ struct UserProfileCreatorView: View {
|
|||
}
|
||||
} else {
|
||||
VStack(alignment: .leading, spacing: 9.3) {
|
||||
Image(creator.isNotification ? "btn_notification_selected" : "btn_notification")
|
||||
Image(creator.isNotification ? "btn_following_big" : "btn_follow_big")
|
||||
.resizable()
|
||||
.frame(width: 83.3, height: 26.7)
|
||||
.onTapGesture {
|
||||
|
|
|
@ -31,7 +31,7 @@ struct FollowCreatorItemView: View {
|
|||
|
||||
Spacer()
|
||||
|
||||
Image(isFollow ? "btn_notification_selected" : "btn_notification")
|
||||
Image(isFollow ? "btn_following_big" : "btn_follow_big")
|
||||
.onTapGesture {
|
||||
if isFollow {
|
||||
onClickUnFollow(creator.creatorId)
|
||||
|
|
|
@ -63,18 +63,17 @@ struct LiveRoomInfoCreatorView: View {
|
|||
.lineLimit(1)
|
||||
}
|
||||
|
||||
Text(creatorNickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.foregroundColor(.gray77)
|
||||
}
|
||||
HStack(spacing: 5.3) {
|
||||
Text(creatorNickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.foregroundColor(.gray77)
|
||||
|
||||
if isShowFollowingButton {
|
||||
Image(isFollowing ? "btn_select_checked" : "btn_plus_round")
|
||||
.resizable()
|
||||
.frame(width: 20, height: 20)
|
||||
.onTapGesture { onClickFollow() }
|
||||
if isShowFollowingButton {
|
||||
Image(isFollowing ? "btn_following" : "btn_follow")
|
||||
.onTapGesture { onClickFollow() }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.padding(.vertical, 8)
|
||||
.padding(.horizontal, 5.3)
|
||||
|
|