Skip to content

Commit 8bc1c74

Browse files
committed
Remove unused parameter
1 parent 9f35c5a commit 8bc1c74

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Bible.Alarm/Platforms/Android/Services/UI/NotificationService.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@
1010
using Android.Graphics;
1111
using AndroidApplication = global::Android.App.Application;
1212
using AndroidNet = global::Android.Net;
13-
using Bible.Alarm.Common.Interfaces.Storage;
1413
using Bible.Alarm.Common.Interfaces.UI;
1514
using Bible.Alarm.Models.Schedule;
1615
using Bible.Alarm.Platforms.Android.Services.AndroidServices;
1716
using Bible.Alarm.Platforms.Android.Services.BroadcastReceivers;
1817

1918
namespace Bible.Alarm.Platforms.Android.Services.UI;
2019

21-
public class DroidNotificationService(ILogger logger, IStorageService _) : INotificationService
20+
public class DroidNotificationService(ILogger logger) : INotificationService
2221
{
2322
public static readonly string ChannelIdAndName = "alarm_notification";
2423
public static readonly string ChannelDescription = "alarm_notification are send to this channel";
@@ -186,7 +185,6 @@ private bool IsAndroidService()
186185

187186
public void Dispose()
188187
{
189-
// Note: IStorageService parameter is intentionally unused but required for DI
190-
// It is a singleton and should not be disposed here as it is managed by the DI container
188+
// Nothing to dispose - logger is managed by DI container
191189
}
192190
}

0 commit comments

Comments
 (0)