Commit 3f35c0a5 authored by Janne Koschinski's avatar Janne Koschinski

Suppress broken lint rule (apparently SwitchIntDef breaks with Kotlin)

parent 0df5e802
Pipeline #316 canceled with stages
in 10 seconds
package de.kuschku.quasseldroid.util.ui
import android.annotation.SuppressLint
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
......@@ -56,6 +57,7 @@ class WarningBarView : LinearLayout {
text.setText(content)
}
@SuppressLint("SwitchIntDef")
fun setMode(@WarningMode mode: Int) {
when (mode) {
MODE_NONE -> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment