зеркало из https://github.com/nextcloud/desktop.git
OS X: Overlay icons: Don't show if folder is not marked as being an oC folder
This commit is contained in:
Родитель
71516c480d
Коммит
0edd4d3c02
|
@ -131,6 +131,10 @@ static ContentManager* sharedInstance = nil;
|
|||
return res;
|
||||
}
|
||||
NSString* normalizedPath = [path decomposedStringWithCanonicalMapping];
|
||||
|
||||
if (![[RequestManager sharedInstance] isRegisteredPath:normalizedPath]) {
|
||||
return [NSNumber numberWithInt:0];
|
||||
}
|
||||
|
||||
NSNumber* result = [_fileNamesCache objectForKey:normalizedPath];
|
||||
// NSLog(@"XXXXXXX Asking for icon for path %@ = %d",path, [result intValue]);
|
||||
|
|
Загрузка…
Ссылка в новой задаче