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 {
|
} else {
|
||||||
// Create new schedule entry for rollover scenarios
|
// Create new schedule entry for rollover scenarios
|
||||||
// This ensures getNotificationStatus() can find the schedule
|
// This ensures getNotificationStatus() can find the schedule
|
||||||
val newSchedule = DatabaseSchema.Schedule(
|
val newSchedule = Schedule(
|
||||||
id = stableScheduleId,
|
id = stableScheduleId,
|
||||||
kind = "notify",
|
kind = "notify",
|
||||||
cron = cronExpression,
|
cron = cronExpression,
|
||||||
|
|||||||
Reference in New Issue
Block a user