diff --git a/app/src/main/java/org/unifiedpush/distributor/nextpush/activities/AppAction.kt b/app/src/main/java/org/unifiedpush/distributor/nextpush/activities/AppAction.kt index 5536b73..e52797a 100644 --- a/app/src/main/java/org/unifiedpush/distributor/nextpush/activities/AppAction.kt +++ b/app/src/main/java/org/unifiedpush/distributor/nextpush/activities/AppAction.kt @@ -123,7 +123,7 @@ class AppAction(private val type: Type, private val argv: Map? = nu private fun deleteRegistration(context: Context, argv: Map?) { val registrations = argv?.get(ARG_REGISTRATIONS) as List? ?: return - registrations?.forEach { + registrations.forEach { deleteApp(context, it) {} } }