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:
parent
2d917bd3af
commit
a6584594c9
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user