mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-15 00:03:38 -07:00
[GUI] Trim spaces in token input
This commit is contained in:
parent
1fe4ecb3af
commit
1ff026eba6
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue