mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-23 14:33:58 +00:00
[GUI] Trim spaces in token input
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user