Browse Source

fix

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 years ago
parent
commit
7b0e888803
1 changed files with 2 additions and 0 deletions
  1. 2 0
      iOSClient/More/NCMore.swift

+ 2 - 0
iOSClient/More/NCMore.swift

@@ -358,6 +358,7 @@ class NCMore: UIViewController, UITableViewDelegate, UITableViewDataSource {
             }
             
             cell.layer.cornerRadius = 15
+            cell.layer.maskedCorners = [.layerMaxXMinYCorner, .layerMinXMinYCorner, .layerMaxXMaxYCorner, .layerMinXMaxYCorner]
 
             return cell
 
@@ -396,6 +397,7 @@ class NCMore: UIViewController, UITableViewDelegate, UITableViewDataSource {
                 cell.layer.cornerRadius = 15
                 if indexPath.row == rows - 1 {
                     cell.separator.backgroundColor = .clear
+                    cell.layer.maskedCorners = [.layerMaxXMinYCorner, .layerMinXMinYCorner, .layerMaxXMaxYCorner, .layerMinXMaxYCorner]
                 } else {
                     cell.layer.maskedCorners = [.layerMaxXMinYCorner, .layerMinXMinYCorner]
                 }