Browse Source

add tipNCScanAddImage

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 năm trước cách đây
mục cha
commit
b93d3c7670
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      iOSClient/ScanDocument/NCScan.swift

+ 2 - 2
iOSClient/ScanDocument/NCScan.swift

@@ -98,7 +98,7 @@ class NCScan: UIViewController, NCScanCellCellDelegate {
         preferences.drawing.foregroundColor = .white
         preferences.drawing.backgroundColor = NCBrandColor.shared.nextcloud
         preferences.drawing.textAlignment = .left
-        preferences.drawing.arrowPosition = .top
+        preferences.drawing.arrowPosition = .left
         preferences.drawing.cornerRadius = 10
 
         preferences.animating.dismissTransform = CGAffineTransform(translationX: 0, y: 100)
@@ -120,7 +120,7 @@ class NCScan: UIViewController, NCScanCellCellDelegate {
 
         // TIP
         if !NCManageDatabase.shared.tipExists(NCGlobal.shared.tipNCScanAddImage) {
-            self.tipView?.show(forView: add)
+            self.tipView?.show(forView: add, withinSuperview: self.view)
         }
     }