Fix debug channel (#846)

This commit is contained in:
Rafał Borcz 2020-05-24 20:53:23 +02:00 committed by GitHub
parent 4c295f2ab4
commit 699fbff082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ class DebugChannel @Inject constructor(
}
override fun create() {
if (appInfo.isDebug) return
if (!appInfo.isDebug) return
notificationManager.createNotificationChannel(
NotificationChannel(CHANNEL_ID, context.getString(R.string.channel_debug), IMPORTANCE_DEFAULT)
.apply {