Browse Source

coding

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 years ago
parent
commit
33fdcf980c
1 changed files with 12 additions and 0 deletions
  1. 12 0
      iOSClient/Main/Create cloud/NCUploadAssets.swift

+ 12 - 0
iOSClient/Main/Create cloud/NCUploadAssets.swift

@@ -392,6 +392,11 @@ struct UploadAssetsView: View {
                             .toggleStyle(SwitchToggleStyle(tint: Color(NCBrandColor.shared.brand)))
                         }
                     }
+                    .complexModifier { view in
+                        if #available(iOS 15, *) {
+                            view.listRowSeparator(.hidden)
+                        }
+                    }
 
                     Section {
 
@@ -434,7 +439,14 @@ struct UploadAssetsView: View {
                                 isPresentedSelect = true
                             }
                         }
+                    }
+                    .complexModifier { view in
+                        if #available(iOS 15, *) {
+                            view.listRowSeparator(.hidden)
+                        }
+                    }
 
+                    Section {
                         HStack {
                             Text(NSLocalizedString("_filename_", comment: ""))
                             if isMaintainOriginalFilename {