Fix code style issues

This commit is contained in:
Mr-Quin
2024-03-31 23:14:24 -07:00
parent 97f2dc4550
commit 3f471c68da
3 changed files with 3 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
public class NotificationTestResult
{
public bool IsSuccess { get; set; }
public string Message { get; set; } = "";
public string Message { get; set; } = string.Empty;
public static NotificationTestResult Success()
{

View File

@@ -19,5 +19,5 @@ public partial class NotificationConfig : ObservableObject
///
/// </summary>
[ObservableProperty]
private string _webhookEndpoint = "";
private string _webhookEndpoint = string.Empty;
}

View File

@@ -1,5 +1,3 @@
namespace BetterGenshinImpact.Service.Notifier.Exception;
public class NotifierException(string message) : System.Exception(message)
{
}
public class NotifierException(string message) : System.Exception(message);