Forráskód Böngészése

coding

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 éve
szülő
commit
33fdcf980c
1 módosított fájl, 12 hozzáadás és 0 törlés
  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 {