지금 라이브 중 19금 방송 방패 표시
This commit is contained in:
21
SodaLive/Resources/Assets.xcassets/ic_shield.imageset/Contents.json
vendored
Normal file
21
SodaLive/Resources/Assets.xcassets/ic_shield.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "ic_shield.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
BIN
SodaLive/Resources/Assets.xcassets/ic_shield.imageset/ic_shield.png
vendored
Normal file
BIN
SodaLive/Resources/Assets.xcassets/ic_shield.imageset/ic_shield.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 474 B |
@@ -52,7 +52,15 @@ struct LiveNowItemView: View {
|
||||
}
|
||||
|
||||
Spacer()
|
||||
|
||||
if item.isAdult {
|
||||
Image("ic_shield")
|
||||
.resizable()
|
||||
.frame(width: 20, height: 20)
|
||||
}
|
||||
}
|
||||
.padding(.top, 10)
|
||||
.padding(.horizontal, 10)
|
||||
|
||||
VStack(spacing: 0) {
|
||||
ZStack(alignment: .bottom) {
|
||||
@@ -121,8 +129,8 @@ struct LiveNowItemView: View {
|
||||
.padding(.bottom, 2)
|
||||
}
|
||||
}
|
||||
.padding(14)
|
||||
}
|
||||
.padding(10)
|
||||
.frame(width: resolvedWidth, height: resolvedHeight, alignment: .top)
|
||||
.background(Color(hex: "263238"))
|
||||
.cornerRadius(16)
|
||||
|
||||
Reference in New Issue
Block a user