Browse Source

new Image view

marinofaggiana 4 years ago
parent
commit
6ef274253f

+ 15 - 0
iOSClient/Images.xcassets/noPreview.imageset/Contents.json

@@ -0,0 +1,15 @@
+{
+  "images" : [
+    {
+      "filename" : "noPreview.pdf",
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  },
+  "properties" : {
+    "preserves-vector-representation" : true
+  }
+}

+ 54 - 0
iOSClient/Images.xcassets/noPreview.imageset/noPreview.pdf

@@ -0,0 +1,54 @@
+%PDF-1.4
+%Óëéá
+1 0 obj
+<</Creator (Mozilla/5.0 \(Macintosh; Intel Mac OS X 10_15_7\) AppleWebKit/537.36 \(KHTML, like Gecko\) BoxySVG/3.42.2 Chrome/83.0.4103.122 Electron/9.1.2 Safari/537.36)
+/Producer (Skia/PDF m83)
+/CreationDate (D:20201025123511+00'00')
+/ModDate (D:20201025123511+00'00')>>
+endobj
+3 0 obj
+<</ca 1
+/BM /Normal>>
+endobj
+4 0 obj
+<</Filter /FlateDecode
+/Length 323>> stream
+xœmRKNÅ0ÜçY#ab;q’°fÅ">‹>$àþ¶£×ä¡×.Ú™‰Çc·@ÜýŠIïGØ 5.€¨ï㾃éˆ
	Êùüy¯ñKU–˜“°ûÜ"-zæøñrÇ”Å
+™š7º(K©+‹Æ¶ìz�Þ³ëª�«¤â㉡çjÊa(Õ8±�RÉ‹@¨lx*Àu§£¤»Óbé´¤½•Ö[NÉsz­šéMÖühY
�d½Yö;{8ÂgX¨A+Ú/eÝ�gJ'ëÇÆ¢dÝ8G4V¿Y/Ê¡Ÿ�”€Z™=¦îëô²Õ‡*ZÕ
+q‡Zç-/ª‹™‹2¬I;4œêF¯D œÿùè�t5[dœƒl®k:k½Ðjƒíö„mÄV.»ÙÎî�w~żº®inGº„÷ð¢÷ˆ_¤¹
+endstream
+endobj
+2 0 obj
+<</Type /Page
+/Resources <</ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
+/ExtGState <</G3 3 0 R>>>>
+/MediaBox [0 0 2835.1199 2835.1199]
+/Contents 4 0 R
+/StructParents 0
+/Parent 5 0 R>>
+endobj
+5 0 obj
+<</Type /Pages
+/Count 1
+/Kids [2 0 R]>>
+endobj
+6 0 obj
+<</Type /Catalog
+/Pages 5 0 R>>
+endobj
+xref
+0 7
+0000000000 65535 f 
+0000000015 00000 n 
+0000000731 00000 n 
+0000000301 00000 n 
+0000000338 00000 n 
+0000000931 00000 n 
+0000000986 00000 n 
+trailer
+<</Size 7
+/Root 6 0 R
+/Info 1 0 R>>
+startxref
+1033
+%%EOF

+ 1 - 1
iOSClient/Viewer/NCViewerImage/NCViewerImageZoom.swift

@@ -54,7 +54,7 @@ class NCViewerImageZoom: UIViewController {
         scrollView.contentInsetAdjustmentBehavior = .never
         
         if image == nil {
-            image = CCGraphics.changeThemingColorImage(UIImage.init(named: "media"), width: view.frame.width, height: view.frame.width, color: .gray)
+            image = CCGraphics.changeThemingColorImage(UIImage.init(named: "noPreview"), width: view.frame.width, height: view.frame.width, color: .gray)
             isDefaultImage = true
         }