This commit is contained in:
Sandeep Somavarapu
2023-09-26 05:29:08 +02:00
committed by GitHub
parent bfe28249a5
commit 207f6454da

View File

@@ -373,6 +373,7 @@ export class UserDataProfileImportExportService extends Disposable implements IU
const updateIcon = (updated: ThemeIcon | undefined) => { const updateIcon = (updated: ThemeIcon | undefined) => {
icon = updated ?? DEFAULT_ICON; icon = updated ?? DEFAULT_ICON;
profileIconElement.className = `profile-icon ${ThemeIcon.asClassName(icon)}`; profileIconElement.className = `profile-icon ${ThemeIcon.asClassName(icon)}`;
profileIconElement.ariaLabel = localize('select icon', "Icon: {0}", icon.id);
}; };
disposables.add(iconSelectBox.onDidSelect(selectedIcon => { disposables.add(iconSelectBox.onDidSelect(selectedIcon => {
if (icon.id !== selectedIcon.id) { if (icon.id !== selectedIcon.id) {