@@ -77,40 +77,43 @@ struct OnboardingStepThreeTitleView: View {
7777struct OnboardingStepThreeProgressBarView : View {
7878
7979 var body : some View {
80- VStack ( alignment: . center) {
81- HStack {
82- Circle ( )
83- . frame ( width: 12 , height: 12 )
84- . foregroundColor ( Color . Gray300)
85-
86- Spacer ( )
87-
88- Circle ( )
89- . frame ( width: 12 , height: 12 )
90- . foregroundColor ( Color . Gray300)
91-
92- Spacer ( )
80+ GeometryReader { geometry in
81+ VStack ( alignment: . center) {
82+ HStack {
83+ Circle ( )
84+ . frame ( width: 12 , height: 12 )
85+ . foregroundColor ( Color . Gray300)
86+
87+ Spacer ( )
88+
89+ Circle ( )
90+ . frame ( width: 12 , height: 12 )
91+ . foregroundColor ( Color . Gray300)
92+
93+ Spacer ( )
94+
95+ Circle ( )
96+ . frame ( width: 12 , height: 12 )
97+ . foregroundColor ( Color . Blue300)
98+ }
99+ . frame ( width: geometry. size. width * 0.6 , height: 2 )
100+ . background ( Color . Gray300)
93101
94- Circle ( )
95- . frame ( width: 12 , height: 12 )
96- . foregroundColor ( Color . Blue300)
97- }
98- . frame ( width: 240 , height: 2 )
99- . background ( Color . Gray300)
100-
101- HStack {
102- Spacer ( )
102+ HStack {
103+ Spacer ( )
104+
105+ Text ( " 알림 설정 " )
106+ . foregroundColor ( Color . Blue300)
107+ . font ( . Bold16)
108+ . environment ( \. sizeCategory, . large)
109+ . padding ( . top, 10 )
110+ }
111+ . padding ( . trailing, geometry. size. width * 0.14 )
103112
104- Text ( " 알림 설정 " )
105- . foregroundColor ( Color . Blue300)
106- . font ( . Bold16)
107- . environment ( \. sizeCategory, . large)
108- . padding ( . top, 10 )
109113 }
110- . padding ( . trailing, 49 )
111-
114+ . padding ( . top, 40 )
112115 }
113- . padding ( . top , 40 )
116+ . frame ( height : 82 )
114117 }
115118}
116119
0 commit comments