You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Get account for the first metadata, to be safe, it is better to take the account here and not from the session since it can cause problems if you change users in the meantime
66
-
guardlet account = metadatas.first?.account else{
67
-
return
68
-
}
69
65
// Order by date (descending)
70
66
letmetadatas= metadatas.sorted{
71
67
($0.date asDate)>($1.date asDate)
@@ -90,7 +86,13 @@ extension NCFiles {
90
86
return
91
87
}
92
88
93
-
// Skip error or e2ee
89
+
// Get account for the first metadata, to be safe, it is better to take the account here and not from the session
90
+
// since it can cause problems if you change users in the meantime.
91
+
//
92
+
// Read the current folder
93
+
guardlet account = metadatas.first?.account else{
94
+
return
95
+
}
94
96
letresultsReadFile=awaitNCNetworking.shared.readFileAsync(serverUrlFileName: serverUrl, account: account){ task in
0 commit comments