Explorar o código

adjusted grid spec

nayooti %!s(int64=5) %!d(string=hai) anos
pai
achega
3d6e2aa2ae
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      deltachat-ios/Controller/GalleryViewController.swift

+ 4 - 4
deltachat-ios/Controller/GalleryViewController.swift

@@ -149,10 +149,10 @@ private extension GalleryViewController {
     func reloadCollectionViewLayout() {
 
         // columns specification
-        let phonePortrait = 2
-        let phoneLandscape = 3
-        let padPortrait = 4
-        let padLandscape = 6
+        let phonePortrait = 3
+        let phoneLandscape = 4
+        let padPortrait = 5
+        let padLandscape = 8
 
         let orientation = UIApplication.shared.statusBarOrientation
         let deviceType = UIDevice.current.userInterfaceIdiom