mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-24 08:49:42 +00:00
adoptin new KeePassKit API
This commit is contained in:
@@ -25,8 +25,8 @@
|
||||
}
|
||||
|
||||
- (NSString *)typeForData:(NSData *)data {
|
||||
KPKFileInfo fileInfo = [self fileInfoForData:data];
|
||||
return [self _typeToUTIdictionary][@(fileInfo.format)];
|
||||
KPKFileVersion fileVersion = [self fileVersionForData:data];
|
||||
return [self _typeToUTIdictionary][@(fileVersion.format)];
|
||||
}
|
||||
|
||||
- (NSString *)typeForContentOfURL:(NSURL *)url {
|
||||
|
||||
Reference in New Issue
Block a user