Suppress lint for unused result

Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
Tim Krüger 2022-02-23 17:50:03 +01:00 committed by Andy Scherzinger
parent dad4f56e6a
commit 9f62df3a53
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -20,6 +20,7 @@
*/
package com.nextcloud.talk.ui.bottom.sheet
import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import android.net.Uri
@ -84,6 +85,7 @@ class ProfileBottomSheet(val ncApi: NcApi, val userEntity: UserEntity, val route
})
}
@SuppressLint("CheckResult")
private fun bottomSheet(actions: List<HoverCardAction>, displayName: String, userId: String, context: Context) {
val filteredActions = actions.filter { allowedAppIds.contains(it.appId) }