File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
FeatureCategorySetting/Sources
FeatureContentSetting/Sources/ContentSetting Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,10 @@ public extension PokitCategorySettingView {
3939 Spacer ( )
4040 }
4141 . padding ( . top, 16 )
42+ . padding ( . horizontal, 20 )
4243 . overlay ( alignment: . bottom) {
4344 saveButton
44- . padding ( . bottom, store. isKeyboardVisible ? - 26 : 0 )
45- . padding ( . bottom, 36 )
4645 }
47- . padding ( . horizontal, 20 )
4846 . padding ( . top, 16 )
4947// .pokitMaxWidth()
5048 . pokitNavigationBar { navigationBar }
@@ -209,6 +207,8 @@ private extension PokitCategorySettingView {
209207 : . disable,
210208 action: { send ( . 저장_버튼_눌렀을때) }
211209 )
210+ . gradientBackground ( )
211+ . keyboardAnchor ( store. isKeyboardVisible)
212212 }
213213 /// 내포킷 Item
214214 struct PokitItem : View {
Original file line number Diff line number Diff line change @@ -54,21 +54,21 @@ public extension ContentSettingView {
5454 }
5555 . pokitMaxWidth ( )
5656 }
57-
57+ }
58+ . overlay ( alignment: . bottom) {
5859 let isDisable = store. urlText. isEmpty ||
5960 store. title. isEmpty ||
6061 store. memoTextAreaState == . error( message: " 최대 100자까지 입력가능합니다. " )
6162
6263 PokitBottomButton (
6364 " 저장하기 " ,
6465 state: isDisable ? . disable : . filled( . primary) ,
65- isLoading: $store. saveIsLoading,
6666 action: { send ( . 저장_버튼_눌렀을때) }
6767 )
68- . padding ( . horizontal, 20 )
68+ . gradientBackground ( )
69+ . loading ( $store. saveIsLoading)
70+ . keyboardAnchor ( store. isKeyboardVisible)
6971 . pokitMaxWidth ( )
70- . padding ( . bottom, store. isKeyboardVisible ? - 26 : 0 )
71- . padding ( . bottom, 36 )
7272 }
7373 . pokitNavigationBar { navigationBar }
7474 . dismissKeyboard ( focused: $focusedType)
You can’t perform that action at this time.
0 commit comments