1
0
mirror of https://github.com/oliverbooth/VPLink synced 2024-11-23 14:28:47 +00:00

fix: rename property to match config section

This commit is contained in:
Oliver Booth 2023-08-26 14:16:24 +01:00
parent 2d917bd3af
commit a6584594c9
Signed by: oliverbooth
GPG Key ID: B89D139977693FED
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ public sealed class VirtualParadiseConfiguration
/// Gets or sets the chat configuration.
/// </summary>
/// <value>The chat configuration.</value>
public ChatConfiguration ChatConfiguration { get; } = new();
public ChatConfiguration Chat { get; } = new();
/// <summary>
/// Gets or sets the password with which to log in to Virtual Paradise.

View File

@ -40,7 +40,7 @@ internal sealed class VirtualParadiseMessageService : BackgroundService, IVirtua
/// <inheritdoc />
public Task SendMessageAsync(RelayedMessage message)
{
ChatConfiguration configuration = _configurationService.VirtualParadiseConfiguration.ChatConfiguration;
ChatConfiguration configuration = _configurationService.VirtualParadiseConfiguration.Chat;
Color color = Color.FromArgb((int)configuration.Color);
FontStyle style = configuration.Style;