mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-06-01 15:28:22 -04:00
Normalize namings ("...Type" -> "...Kind")
This commit is contained in:
parent
de773467b6
commit
d4eba75036
9 changed files with 47 additions and 47 deletions
|
@ -111,7 +111,7 @@ namespace DiscordChatExporter.Gui.ViewModels
|
|||
|
||||
if (_settingsService.LastToken is not null)
|
||||
{
|
||||
IsBotToken = _settingsService.LastToken.Type == AuthTokenType.Bot;
|
||||
IsBotToken = _settingsService.LastToken.Kind == AuthTokenKind.Bot;
|
||||
TokenValue = _settingsService.LastToken.Value;
|
||||
}
|
||||
|
||||
|
@ -157,7 +157,7 @@ namespace DiscordChatExporter.Gui.ViewModels
|
|||
return;
|
||||
|
||||
var token = new AuthToken(
|
||||
IsBotToken ? AuthTokenType.Bot : AuthTokenType.User,
|
||||
IsBotToken ? AuthTokenKind.Bot : AuthTokenKind.User,
|
||||
tokenValue
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue