We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 795bc82 commit eeec6fdCopy full SHA for eeec6fd
1 file changed
app/src/main/java/org/schabi/newpipe/local/feed/notifications/NotificationHelper.kt
@@ -28,7 +28,7 @@ import org.schabi.newpipe.util.PicassoHelper
28
* Helper for everything related to show notifications about new streams to the user.
29
*/
30
class NotificationHelper(val context: Context) {
31
- private val manager = context.getSystemService<NotificationManager>()!!
+ private val manager = NotificationManagerCompat.from(context)
32
private val iconLoadingTargets = ArrayList<Target>()
33
34
/**
0 commit comments