瀏覽代碼

minor UI changes

polscm32 2 年之前
父節點
當前提交
936749ae21
共有 1 個文件被更改,包括 6 次插入4 次删除
  1. 6 4
      FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

+ 6 - 4
FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

@@ -850,9 +850,9 @@ extension Home {
                     timeInterval.padding(.top, 15).padding(.bottom, 20)
                     timeInterval.padding(.top, 15).padding(.bottom, 20)
 
 
                     if let progress = state.bolusProgress {
                     if let progress = state.bolusProgress {
-                        bolusView(geo, progress).padding(.bottom, 20)
+                        bolusView(geo, progress).padding(.bottom, 25)
                     } else {
                     } else {
-                        profileView(geo).padding(.bottom, 20)
+                        profileView(geo).padding(.bottom, 25)
                     }
                     }
                 }
                 }
 
 
@@ -994,8 +994,10 @@ extension Home {
                     action: {
                     action: {
                         state.showModal(for: .bolus(waitForSuggestion: false, fetch: false)) },
                         state.showModal(for: .bolus(waitForSuggestion: false, fetch: false)) },
                     label: {
                     label: {
-                        Image(systemName: "plus.circle.fill").font(.system(size: 40)).foregroundStyle(Color.gray)
-                            .padding(.bottom, 2)
+                        Image(systemName: "plus.circle.fill")
+                            .font(.system(size: 45))
+                            .foregroundStyle(Color.tabBar)
+                            .padding(.bottom, 1)
                     }
                     }
                 )
                 )
             }
             }