Skip to content

Commit e82364f

Browse files
authored
Merge branch 'main' into fix/parallels-vulkan-fallback
2 parents d21bdc4 + a61d80b commit e82364f

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/iOS/Avalonia.iOS/Storage/IOSStorageItem.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,7 @@ public async IAsyncEnumerable<IStorageItem> GetItemsAsync()
271271
{
272272
try
273273
{
274-
if (!SecurityScopedAncestorUrl.StartAccessingSecurityScopedResource())
275-
{
276-
return Task.FromResult<IStorageFile?>(null);
277-
}
274+
SecurityScopedAncestorUrl.StartAccessingSecurityScopedResource();
278275

279276
var path = System.IO.Path.Combine(FilePath, name);
280277
NSFileAttributes? attributes = null;

0 commit comments

Comments
 (0)