Pārlūkot izejas kodu

Suppress lint for unused result

Signed-off-by: Tim Krüger <t@timkrueger.me>
Tim Krüger 3 gadi atpakaļ
vecāks
revīzija
9f62df3a53

+ 2 - 0
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<HoverCardAction>, displayName: String, userId: String, context: Context) {
 
         val filteredActions = actions.filter { allowedAppIds.contains(it.appId) }