Normalize namings ("...Type" -> "...Kind")

This commit is contained in:
Tyrrrz 2021-07-19 02:07:19 +03:00
parent de773467b6
commit d4eba75036
9 changed files with 47 additions and 47 deletions

View file

@ -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
);