marinofaggiana před 3 roky
rodič
revize
28b4945fc2

+ 2 - 2
Share/NCShareExtension.swift

@@ -171,9 +171,9 @@ class NCShareExtension: UIViewController, NCListCellDelegate, NCEmptyDataSetDele
         // BACK BUTTON
 
         let backButton = UIButton(type: .custom)
-        backButton.setImage(UIImage(named: "back")?.image(color: .systemBlue, size: 30), for: .normal)
+        backButton.setImage(UIImage(named: "back"), for: .normal)
+        backButton.tintColor = .systemBlue
         backButton.semanticContentAttribute = .forceLeftToRight
-        backButton.sizeToFit()
         backButton.setTitle(" "+NSLocalizedString("_back_", comment: ""), for: .normal)
         backButton.setTitleColor(.systemBlue, for: .normal)
         backButton.addTarget(self, action: #selector(backButtonTapped(sender:)), for: .touchUpInside)

+ 13 - 2
iOSClient/Images.xcassets/back.imageset/Contents.json

@@ -1,8 +1,19 @@
 {
   "images" : [
     {
-      "filename" : "less-than.svg",
-      "idiom" : "universal"
+      "filename" : "back.png",
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "back-1.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "back-2.png",
+      "idiom" : "universal",
+      "scale" : "3x"
     }
   ],
   "info" : {

binární
iOSClient/Images.xcassets/back.imageset/back-1.png


binární
iOSClient/Images.xcassets/back.imageset/back-2.png


binární
iOSClient/Images.xcassets/back.imageset/back.png


+ 0 - 1
iOSClient/Images.xcassets/back.imageset/less-than.svg

@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M18.5,4.14L19.5,5.86L8.97,12L19.5,18.14L18.5,19.86L5,12L18.5,4.14Z" /></svg>