diff --git a/tools/Customization/DevHome.Customization/ViewModels/DevDriveInsights/OptimizeDevDriveDialogViewModel.cs b/tools/Customization/DevHome.Customization/ViewModels/DevDriveInsights/OptimizeDevDriveDialogViewModel.cs index 2c53868161..397d84f8f6 100644 --- a/tools/Customization/DevHome.Customization/ViewModels/DevDriveInsights/OptimizeDevDriveDialogViewModel.cs +++ b/tools/Customization/DevHome.Customization/ViewModels/DevDriveInsights/OptimizeDevDriveDialogViewModel.cs @@ -63,16 +63,16 @@ public OptimizeDevDriveDialogViewModel( string exampleDevDriveLocation, List existingDevDriveLetters) { - DirectoryPathTextBox = string.Empty; var stringResource = new StringResource("DevHome.Customization.pri", "DevHome.Customization/Resources"); ExistingDevDriveLetters = existingDevDriveLetters; ExampleDevDriveLocation = stringResource.GetLocalized("ExampleText") + exampleDevDriveLocation; + DirectoryPathTextBox = exampleDevDriveLocation; ChooseDirectoryPromptText = stringResource.GetLocalized("ChooseDirectoryPromptText"); MakeChangesText = stringResource.GetLocalized("MakeChangesText"); ExistingCacheLocation = existingCacheLocation; EnvironmentVariableToBeSet = environmentVariableToBeSet; OptimizeDevDriveDialogDescription = stringResource.GetLocalized("OptimizeDevDriveDialogDescription/Text", ExistingCacheLocation, EnvironmentVariableToBeSet); - IsPrimaryButtonEnabled = false; + IsPrimaryButtonEnabled = true; ErrorMessage = string.Empty; IsNotDevDrive = false; }