Explorar el Código

reverse order

nayooti hace 5 años
padre
commit
e2b6eff075
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      deltachat-ios/Controller/DocumentGalleryController.swift

+ 1 - 1
deltachat-ios/Controller/DocumentGalleryController.swift

@@ -15,7 +15,7 @@ class DocumentGalleryController: UIViewController {
     }()
 
     init(fileMessageIds: [Int]) {
-        self.fileMessageIds = fileMessageIds
+        self.fileMessageIds = fileMessageIds.reversed()
         super.init(nibName: nil, bundle: nil)
         self.title = String.localized("documents")
     }