Skip to content

Commit 841c048

Browse files
Widget initialisation not complete #1045
1 parent f577d96 commit 841c048

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/at/techbee/jtx/RestoreNotificationsAtBootReceiver.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ import android.content.SharedPreferences
88
import android.content.pm.PackageManager
99
import androidx.core.app.ActivityCompat
1010
import androidx.core.app.NotificationManagerCompat
11+
import androidx.glance.appwidget.updateAll
1112
import androidx.preference.PreferenceManager
1213
import at.techbee.jtx.database.ICalDatabase
1314
import at.techbee.jtx.database.Status
1415
import at.techbee.jtx.database.properties.Alarm
1516
import at.techbee.jtx.flavored.GeofenceClient
17+
import at.techbee.jtx.widgets.ListWidget
1618
import kotlinx.coroutines.CoroutineScope
1719
import kotlinx.coroutines.Dispatchers
1820
import kotlinx.coroutines.launch
@@ -56,6 +58,7 @@ class RestoreNotificationsAtBootReceiver : BroadcastReceiver() {
5658
notificationManager.notify(iCalObjectId.toInt(), notification)
5759
}
5860
}
61+
ListWidget().updateAll(context)
5962
GeofenceClient(context).setGeofences()
6063
}
6164
}

0 commit comments

Comments
 (0)