mirror of
https://gitee.com/openharmony/applications_photos
synced 2024-11-23 07:00:09 +00:00
update common/src/main/ets/default/access/UserFileManagerAccess.ts.
Signed-off-by: liujuan <liujuan76@h-partners.com>
This commit is contained in:
parent
bd0fca6622
commit
eb5a87e83f
@ -138,7 +138,7 @@ export class UserFileManagerAccess {
|
||||
|
||||
public static getInstance(): UserFileManagerAccess {
|
||||
if (AppStorage.get(Constants.APP_KEY_INSTANCE_MEDIA_LIBRARY_ACCESS) == null) {
|
||||
AppStorage.SetOrCreate(Constants.APP_KEY_INSTANCE_MEDIA_LIBRARY_ACCESS, new UserFileManagerAccess());
|
||||
AppStorage.setOrCreate(Constants.APP_KEY_INSTANCE_MEDIA_LIBRARY_ACCESS, new UserFileManagerAccess());
|
||||
}
|
||||
return AppStorage.get(Constants.APP_KEY_INSTANCE_MEDIA_LIBRARY_ACCESS);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user