зеркало из https://github.com/nextcloud/desktop.git
Use value from config for fastEnumeration when creating enumerator
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Родитель
534b3a60d7
Коммит
a3e1d66707
|
@ -65,7 +65,6 @@ import OSLog
|
|||
// Since it's not desirable to cancel a long recursive enumeration half-way through, we do the
|
||||
// fast enumeration by default. We prompt the user on the client side to run a proper, full
|
||||
// enumeration if they want for safety.
|
||||
var fastEnumeration = true
|
||||
lazy var config = FileProviderConfig(domainIdentifier: domain.identifier)
|
||||
|
||||
required init(domain: NSFileProviderDomain) {
|
||||
|
@ -808,7 +807,7 @@ import OSLog
|
|||
enumeratedItemIdentifier: containerItemIdentifier,
|
||||
ncAccount: ncAccount,
|
||||
ncKit: ncKit,
|
||||
fastEnumeration: fastEnumeration
|
||||
fastEnumeration: config.fastEnumerationEnabled
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче