Browse Source

coding

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 years ago
parent
commit
608f29b189
1 changed files with 2 additions and 2 deletions
  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 {
     
     if withButton {
-        let height = Int((displaySize.height - 80) / 50)
+        let height = Int((displaySize.height - 85) / 50)
         return height
     } else {
-        let height = Int((displaySize.height - 55) / 50)
+        let height = Int((displaySize.height - 60) / 50)
         return height
     }
 }