Skip to content

Commit

Permalink
Revert "storage: don't use @available"
Browse files Browse the repository at this point in the history
This reverts commit 6acc009.
  • Loading branch information
qua-iy committed Aug 16, 2022
1 parent 75c9fe8 commit 75c5758
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

extern "C" {
long storage_getFreeDiskSpace(bool includeDeletableCaches) {
if ([UIDevice currentDevice].systemVersion.floatValue >= 11.0) {
if (@available(iOS 11.0, *)) {
NSURLResourceKey resourceKey = NSURLVolumeAvailableCapacityKey; // real free space
if (includeDeletableCaches) {
// value similar to showed in System
Expand Down

0 comments on commit 75c5758

Please sign in to comment.