mirror of https://github.com/oliverbooth/VPLink
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.
|
/// Gets or sets the chat configuration.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The chat configuration.</value>
|
/// <value>The chat configuration.</value>
|
||||||
public ChatConfiguration ChatConfiguration { get; } = new();
|
public ChatConfiguration Chat { get; } = new();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the password with which to log in to Virtual Paradise.
|
/// Gets or sets the password with which to log in to Virtual Paradise.
|
||||||
|
|
|
@ -40,7 +40,7 @@ internal sealed class VirtualParadiseMessageService : BackgroundService, IVirtua
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public Task SendMessageAsync(RelayedMessage message)
|
public Task SendMessageAsync(RelayedMessage message)
|
||||||
{
|
{
|
||||||
ChatConfiguration configuration = _configurationService.VirtualParadiseConfiguration.ChatConfiguration;
|
ChatConfiguration configuration = _configurationService.VirtualParadiseConfiguration.Chat;
|
||||||
|
|
||||||
Color color = Color.FromArgb((int)configuration.Color);
|
Color color = Color.FromArgb((int)configuration.Color);
|
||||||
FontStyle style = configuration.Style;
|
FontStyle style = configuration.Style;
|
||||||
|
|
Loading…
Reference in New Issue