Fix unnecessary null check

This commit is contained in:
sim 2024-11-18 10:28:15 +00:00
parent 06f5f18b65
commit 8129a9deb5
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class AppAction(private val type: Type, private val argv: Map<String, Any>? = nu
private fun deleteRegistration(context: Context, argv: Map<String, Any>?) {
val registrations = argv?.get(ARG_REGISTRATIONS) as List<String>? ?: return
registrations?.forEach {
registrations.forEach {
deleteApp(context, it) {}
}
}