mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
fix build issue
This commit is contained in:
@@ -231,7 +231,7 @@ namespace Microsoft.PowerToys.Settings.UI.Views
|
|||||||
private string GenerateDefaultProfileName()
|
private string GenerateDefaultProfileName()
|
||||||
{
|
{
|
||||||
// Use shared ProfileHelper for consistent profile name generation
|
// Use shared ProfileHelper for consistent profile name generation
|
||||||
var existingNames = ViewModel.Profiles.Select(p => p.Name);
|
var existingNames = ViewModel.Profiles.Select(p => p.Name).ToHashSet();
|
||||||
return ProfileHelper.GenerateUniqueProfileName(existingNames);
|
return ProfileHelper.GenerateUniqueProfileName(existingNames);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user