From 6c66984251f58f0f88682f4b219c0fdb41f82fb2 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 29 Aug 2022 22:53:00 +0200 Subject: [PATCH] removing the not needed local broadcast manager --- .../com/simplemobiletools/calendar/pro/extensions/Context.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/extensions/Context.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/extensions/Context.kt index e6e62bc39..4d66f9426 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/extensions/Context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/extensions/Context.kt @@ -23,7 +23,6 @@ import android.widget.Toast import androidx.constraintlayout.widget.ConstraintLayout import androidx.core.app.AlarmManagerCompat import androidx.core.app.NotificationCompat -import androidx.localbroadcastmanager.content.LocalBroadcastManager import androidx.print.PrintHelper import com.simplemobiletools.calendar.pro.R import com.simplemobiletools.calendar.pro.activities.EventActivity @@ -58,8 +57,6 @@ val Context.completedTasksDB: TasksDao get() = EventsDatabase.getInstance(applic val Context.eventsHelper: EventsHelper get() = EventsHelper(this) val Context.calDAVHelper: CalDAVHelper get() = CalDAVHelper(this) -val Context.localBroadcastManager: LocalBroadcastManager get() = LocalBroadcastManager.getInstance(this) - fun Context.updateWidgets() { val widgetIDs = AppWidgetManager.getInstance(applicationContext)?.getAppWidgetIds(ComponentName(applicationContext, MyWidgetMonthlyProvider::class.java)) ?: return