mirror of
https://github.com/PranshulGG/WeatherMaster.git
synced 2026-10-22 02:52:37 -05:00
fix scheduled notification crashes
This commit is contained in:
1 parent
d99a79d925
commit
dbf162d92f
1 file changed
+1
+1
@@ -130,6 +130,7 @@ class ScheduledNotification : BroadcastReceiver() {
|
||||
)
|
||||
|
||||
val notification = NotificationCompat.Builder(context, NotificationConfig.CHANNEL_ID)
|
||||
.setSmallIcon(weather.current.currentConditionIcon)
|
||||
.setContentTitle(title)
|
||||
.setContentText(message)
|
||||
.setStyle(
|
||||
|
||||
Reference in new issue
Block a user