Skip to content

Commit 2235e08

Browse files
committed
[fix] #196 PokitCaution 변경사항 반영
1 parent 8c932ea commit 2235e08

File tree

6 files changed

+6
-3
lines changed

6 files changed

+6
-3
lines changed

Projects/DSKit/Resources/Assets.xcassets/character_empty.imageset/Contents.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
22
"images" : [
33
{
4-
"filename" : "character_empty.png",
4+
"filename" : "empty_graphic 1.png",
55
"idiom" : "universal",
66
"scale" : "1x"
77
},
88
{
9+
"filename" : "empty_graphic [email protected]",
910
"idiom" : "universal",
1011
"scale" : "2x"
1112
},
1213
{
14+
"filename" : "empty_graphic [email protected]",
1315
"idiom" : "universal",
1416
"scale" : "3x"
1517
}
Binary file not shown.
23.6 KB
Loading
82 KB
Loading
172 KB
Loading

Projects/DSKit/Sources/Components/PokitCaution.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,18 @@ public struct PokitCaution: View {
101101
.resizable()
102102
.aspectRatio(contentMode: .fill)
103103
.frame(width: 180, height: 180)
104-
.padding(.bottom, 16)
104+
.padding(.bottom, 8)
105105

106106
Text(type.title)
107107
.pokitFont(.title2)
108108
.foregroundStyle(.pokit(.text(.secondary)))
109109
.padding(.bottom, 8)
110110

111111
Text(type.message)
112+
.multilineTextAlignment(.center)
112113
.pokitFont(.b2(.m))
113114
.foregroundStyle(.pokit(.text(.secondary)))
114-
.padding(.bottom, 16)
115+
.padding(.bottom, 20)
115116

116117
if let action,
117118
let actionTitle = type.actionTitle {

0 commit comments

Comments
 (0)