fix release build

This commit is contained in:
Stanley Dimant
2024-07-18 19:45:28 +02:00
committed by Loporrit
parent 1c058cba5d
commit 7b456d9755

View File

@@ -1,5 +1,6 @@
using MareSynchronos.FileCache; using MareSynchronos.FileCache;
using MareSynchronos.MareConfiguration; using MareSynchronos.MareConfiguration;
using MareSynchronos.MareConfiguration.Models;
using MareSynchronos.PlayerData.Pairs; using MareSynchronos.PlayerData.Pairs;
using MareSynchronos.PlayerData.Services; using MareSynchronos.PlayerData.Services;
using MareSynchronos.Services; using MareSynchronos.Services;
@@ -157,7 +158,7 @@ public class MarePlugin : MediatorSubscriberBase, IHostedService
{ {
Mediator.Publish(new NotificationMessage("Abnormal Log Level", Mediator.Publish(new NotificationMessage("Abnormal Log Level",
$"Your log level is set to '{_mareConfigService.Current.LogLevel}' which is not recommended for normal usage. Set it to '{LogLevel.Information}' in \"Loporrit Settings -> Debug\" unless instructed otherwise.", $"Your log level is set to '{_mareConfigService.Current.LogLevel}' which is not recommended for normal usage. Set it to '{LogLevel.Information}' in \"Loporrit Settings -> Debug\" unless instructed otherwise.",
Dalamud.Interface.ImGuiNotification.NotificationType.Error, 15000)); NotificationType.Error, TimeSpan.FromSeconds(15000)));
} }
#endif #endif
} }