blob: 016f3d20f7d311ace29e595209d6a7a4e3137158 (
plain)
1
2
3
4
5
6
7
8
9
10
|
package ca.allanwang.kau.utils
import android.content.Context
import androidx.core.app.NotificationManagerCompat
/**
* Created by Allan Wang on 2017-08-04.
*/
fun Context.cancelNotification(notifId: Int) = NotificationManagerCompat.from(this).cancel(notifId)
|