Skip to content

Commit 543b095

Browse files
applebuddyios-min
authored andcommitted
[Fix] #317 로그인 뷰 좌상단 X버튼 레이아웃 수정
1 parent 487a6a9 commit 543b095

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Projects/Coffice/Sources/App/Login/LoginView.swift

+8-6
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,20 @@ struct LoginView: View {
7676
}
7777
.padding(EdgeInsets(top: 163, leading: 36, bottom: 129, trailing: 36))
7878
}
79-
.overlay(alignment: .topLeading) {
80-
Group {
79+
.navigationBarHidden(true)
80+
.overlay(
81+
alignment: .topLeading,
82+
content: {
8183
Button {
8284
viewStore.send(.dismissButtonTapped)
8385
} label: {
8486
CofficeAsset.Asset.close40px.swiftUIImage
85-
.frame(width: 40, height: 40)
87+
.padding(.top, 4)
88+
.padding(.leading, 8)
8689
}
90+
.hiddenWithOpacity(isHidden: viewStore.isOnboarding)
8791
}
88-
.padding(20)
89-
.hiddenWithOpacity(isHidden: viewStore.isOnboarding)
90-
}
92+
)
9193
.popup(
9294
item: viewStore.binding(
9395
get: \.loginServiceTermsBottomSheetState,

0 commit comments

Comments
 (0)