瀏覽代碼

Suppress Linter since performOnCLick is called within touch event implementation

... else it would be called twice -> false-positive

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 2 年之前
父節點
當前提交
36744542e6
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt

+ 1 - 0
app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt

@@ -516,6 +516,7 @@ class ChatController(args: Bundle) :
         currentConversation?.type == Conversation.ConversationType
         .ROOM_TYPE_ONE_TO_ONE_CALL
 
+    @SuppressLint("ClickableViewAccessibility")
     @Suppress("Detekt.TooGenericExceptionCaught")
     override fun onViewBound(view: View) {
         Log.d(TAG, "onViewBound: " + System.identityHashCode(this).toString())