[Keyboard Manager] Allow whitespace-only TextRemappings (#46510)

Title.

Closes #46453
This commit is contained in:
Zach Teutsch
2026-03-26 13:14:13 -04:00
committed by GitHub
parent c83dd972a0
commit c05ba4e2c8
2 changed files with 2 additions and 2 deletions

View File

@@ -90,7 +90,7 @@ namespace KeyboardManagerEditorUI.Helpers
return ValidationErrorType.EmptyOriginalKeys;
}
if (string.IsNullOrWhiteSpace(textContent))
if (string.IsNullOrEmpty(textContent))
{
return ValidationErrorType.EmptyTargetText;
}