active vfs when change settings

This commit is contained in:
Danmei Chen 2021-05-04 15:58:45 +02:00
parent 7d9329adab
commit 4f33de229f

View file

@ -785,6 +785,9 @@
if (vfsEnabled) {
[lm lpConfigSetBool:TRUE forKey:@"vfs_enabled_preference"];
[self setBool:TRUE forKey:@"vfs_enabled_mode"];
if (!VFSUtil.activateVFS) {
[VFSUtil oslogWithLog:@"[VFS] Error unable to activate." level:OS_LOG_TYPE_ERROR];
}
}
[lm lpConfigSetBool:[self boolForKey:@"auto_write_to_gallery_mode"] forKey:@"auto_write_to_gallery_preference"];