fix: correct Schedule class reference in NotifyReceiver
- Change DatabaseSchema.Schedule to Schedule (same package, no prefix needed) - Fixes compilation error: Unresolved reference: DatabaseSchema Since both NotifyReceiver.kt and DatabaseSchema.kt are in the same package (com.timesafari.dailynotification), Schedule can be referenced directly without the DatabaseSchema prefix.
This commit is contained in:
@@ -421,7 +421,7 @@ class NotifyReceiver : BroadcastReceiver() {
|
||||
} else {
|
||||
// Create new schedule entry for rollover scenarios
|
||||
// This ensures getNotificationStatus() can find the schedule
|
||||
val newSchedule = DatabaseSchema.Schedule(
|
||||
val newSchedule = Schedule(
|
||||
id = stableScheduleId,
|
||||
kind = "notify",
|
||||
cron = cronExpression,
|
||||
|
||||
Reference in New Issue
Block a user