Преглед изворни кода

Fix bogus EmptyView from being accessible via Treatment view (+) #464

Deniz Cengiz пре 1 година
родитељ
комит
13a2fbd2c5
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      Trio/Sources/Modules/Home/View/HomeRootView.swift

+ 2 - 2
Trio/Sources/Modules/Home/View/HomeRootView.swift

@@ -1061,8 +1061,8 @@ extension Home {
                         Image(systemName: "plus.circle.fill")
                         Image(systemName: "plus.circle.fill")
                             .font(.system(size: 40))
                             .font(.system(size: 40))
                             .foregroundStyle(Color.tabBar)
                             .foregroundStyle(Color.tabBar)
-                            .padding(.bottom, 1)
-                            .padding(.horizontal, 22.5)
+                            .padding(.vertical, 2)
+                            .padding(.horizontal, 24)
                     }
                     }
                 )
                 )
             }.ignoresSafeArea(.keyboard, edges: .bottom).blur(radius: state.waitForSuggestion ? 8 : 0)
             }.ignoresSafeArea(.keyboard, edges: .bottom).blur(radius: state.waitForSuggestion ? 8 : 0)