From 9f62df3a535c7231338c267ae2869eb088bdca2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Kr=C3=BCger?= Date: Wed, 23 Feb 2022 17:50:03 +0100 Subject: [PATCH] Suppress lint for unused result MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tim Krüger --- .../com/nextcloud/talk/ui/bottom/sheet/ProfileBottomSheet.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/nextcloud/talk/ui/bottom/sheet/ProfileBottomSheet.kt b/app/src/main/java/com/nextcloud/talk/ui/bottom/sheet/ProfileBottomSheet.kt index ff230522e..6e14dd5d8 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/bottom/sheet/ProfileBottomSheet.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/bottom/sheet/ProfileBottomSheet.kt @@ -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, displayName: String, userId: String, context: Context) { val filteredActions = actions.filter { allowedAppIds.contains(it.appId) }