mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
fix #73121
This commit is contained in:
parent
0c53423cc4
commit
36065e6b95
|
@ -479,7 +479,7 @@ export class WorkbenchThemeService implements IWorkbenchThemeService {
|
|||
this.doSetFileIconTheme(newIconTheme);
|
||||
|
||||
// remember theme data for a quick restore
|
||||
if (newIconTheme.isLoaded && newIconTheme.location && !getRemoteAuthority(newIconTheme.location)) {
|
||||
if (newIconTheme.isLoaded && (!newIconTheme.location || !getRemoteAuthority(newIconTheme.location))) {
|
||||
this.storageService.store(PERSISTED_ICON_THEME_STORAGE_KEY, newIconTheme.toStorageData(), StorageScope.GLOBAL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue