Skip to content
Snippets Groups Projects
Verified Commit 3f35c0a5 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Suppress broken lint rule (apparently SwitchIntDef breaks with Kotlin)

parent 0df5e802
No related branches found
No related tags found
No related merge requests found
Pipeline #316 canceled
package de.kuschku.quasseldroid.util.ui package de.kuschku.quasseldroid.util.ui
import android.annotation.SuppressLint
import android.content.Context import android.content.Context
import android.util.AttributeSet import android.util.AttributeSet
import android.view.LayoutInflater import android.view.LayoutInflater
...@@ -56,6 +57,7 @@ class WarningBarView : LinearLayout { ...@@ -56,6 +57,7 @@ class WarningBarView : LinearLayout {
text.setText(content) text.setText(content)
} }
@SuppressLint("SwitchIntDef")
fun setMode(@WarningMode mode: Int) { fun setMode(@WarningMode mode: Int) {
when (mode) { when (mode) {
MODE_NONE -> { MODE_NONE -> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment