Skip to content

Commit

Permalink
Revert "[fix/fp-offline-browsing] Allow offline browsing of folders i…
Browse files Browse the repository at this point in the history
…n the File Provider (#547)"

This reverts commit 9a0bc93.
  • Loading branch information
hosy authored Oct 31, 2019
1 parent 9a0bc93 commit 5cb1ccf
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 15 deletions.
1 change: 0 additions & 1 deletion external/libzip/libzip.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,6 @@
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = DCE93FD921FCA42B000E14F2;
productRefGroup = DCE93FE421FCA42C000E14F2 /* Products */;
Expand Down
5 changes: 0 additions & 5 deletions ownCloud File Provider/FileProviderExtension.m
Original file line number Diff line number Diff line change
Expand Up @@ -896,8 +896,3 @@ - (void)core:(OCCore *)core handleError:(NSError *)error issue:(OCIssue *)issue
@end

OCClaimExplicitIdentifier OCClaimExplicitIdentifierFileProvider = @"fileProvider";

/*
Additional information:
- NSExtensionFileProviderSupportsPickingFolders: https://twitter.com/palmin/status/1177860144258076673
*/
8 changes: 0 additions & 8 deletions ownCloud File Provider/OCItem+FileProviderItem.m
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,6 @@ - (BOOL)isDownloaded
return (YES);
}

if (self.type == OCItemTypeCollection)
{
// Needs to return YES for folders in order to allow browsing while offline
// Otherwise Files.app will bring up an alert "You're not connected to the Internet"
// (big thanks to @palmin who pointed me to this possibility)
return (YES);
}

return (NO);
}

Expand Down

0 comments on commit 5cb1ccf

Please sign in to comment.