mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-22 14:38:15 +08:00
Suppress lint warning. MenuBuilder is restricted.
This commit is contained in:
parent
2c75f41072
commit
dd6410794c
@ -97,6 +97,7 @@ class SessionsListHeaderView @JvmOverloads constructor(
|
||||
}
|
||||
}
|
||||
|
||||
@Suppress("RestrictedApi")
|
||||
private fun setMenu(typedArray: TypedArray) {
|
||||
val menuResId = typedArray.getResourceId(R.styleable.SessionsListHeaderView_sessionsListHeaderMenu, -1)
|
||||
if (menuResId == -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user