Skip to content

Commit

Permalink
ImportFileManager: Request game file cache rescan after import
Browse files Browse the repository at this point in the history
  • Loading branch information
OatmealDome committed Jan 8, 2023
1 parent ecdd15c commit b0e1328
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/iOS/App/DolphiniOS/UI/Import/ImportFileManager.m
Expand Up @@ -5,6 +5,7 @@

#import "Swift.h"

#import "GameFileCacheManager.h"
#import "LocalizationUtil.h"
#import "MainSceneCoordinator.h"

Expand Down Expand Up @@ -70,6 +71,8 @@ - (void)importFileAtUrl:(NSURL*)url {
void (^finish)(void) = ^void() {
[url stopAccessingSecurityScopedResource];

[[GameFileCacheManager sharedManager] rescanAndFetchMetadataWithCompletionHandler:nil];

[self hideWindow];
};

Expand Down

0 comments on commit b0e1328

Please sign in to comment.