move else to new line

This commit is contained in:
axell 2024-07-08 13:30:04 +02:00 committed by GitHub
parent 63831dd250
commit 6b71aea906
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
using DiscordRPC; using DiscordRPC;
namespace Bloxstrap.Integrations namespace Bloxstrap.Integrations
{ {
@ -252,7 +252,8 @@ namespace Bloxstrap.Integrations
if (userInfoResponse is null) if (userInfoResponse is null)
{ {
App.Logger.WriteLine(LOG_IDENT, "Could not get user info!"); App.Logger.WriteLine(LOG_IDENT, "Could not get user info!");
} else }
else
{ {
smallImageText = userInfoResponse.DisplayName + $" (@{userInfoResponse.Username})"; //example: john doe (@johndoe) smallImageText = userInfoResponse.DisplayName + $" (@{userInfoResponse.Username})"; //example: john doe (@johndoe)
App.Logger.WriteLine(LOG_IDENT, $"Got user info as {smallImageText}"); App.Logger.WriteLine(LOG_IDENT, $"Got user info as {smallImageText}");