浏览代码

coding

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 年之前
父节点
当前提交
608f29b189
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Widget/Dashboard/DashboardData.swift

+ 2 - 2
Widget/Dashboard/DashboardData.swift

@@ -67,10 +67,10 @@ let dashboardDatasTest: [DashboardData] = [
 func getDashboardItems(displaySize: CGSize, withButton: Bool) -> Int {
 func getDashboardItems(displaySize: CGSize, withButton: Bool) -> Int {
     
     
     if withButton {
     if withButton {
-        let height = Int((displaySize.height - 80) / 50)
+        let height = Int((displaySize.height - 85) / 50)
         return height
         return height
     } else {
     } else {
-        let height = Int((displaySize.height - 55) / 50)
+        let height = Int((displaySize.height - 60) / 50)
         return height
         return height
     }
     }
 }
 }