[GUI] Trim spaces in token input

This commit is contained in:
Alexey Golub 2020-07-29 20:58:49 +03:00
parent 1fe4ecb3af
commit 1ff026eba6

View file

@ -134,7 +134,7 @@ namespace DiscordChatExporter.Gui.ViewModels
try try
{ {
var tokenValue = TokenValue?.Trim('"'); var tokenValue = TokenValue?.Trim('"', ' ');
if (string.IsNullOrWhiteSpace(tokenValue)) if (string.IsNullOrWhiteSpace(tokenValue))
return; return;