mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 14:36:01 +03:00
Make default of fast enumeration enabled method in file provider settings controller to be true
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
23c1e554d0
commit
1441a5e3a2
1 changed files with 2 additions and 2 deletions
|
@ -378,12 +378,12 @@ bool FileProviderSettingsController::fastEnumerationEnabledForAccount(const QStr
|
|||
{
|
||||
const auto xpc = FileProvider::instance()->xpc();
|
||||
if (!xpc) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
if (const auto fastEnumerationState = xpc->fastEnumerationStateForExtension(userIdAtHost)) {
|
||||
return fastEnumerationState->first;
|
||||
}
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
void FileProviderSettingsController::setFastEnumerationEnabledForAccount(const QString &userIdAtHost, const bool setEnabled)
|
||||
|
|
Loading…
Reference in a new issue