We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4826c29 commit 55761bdCopy full SHA for 55761bd
modulecheck-parsing/android/src/main/kotlin/modulecheck/parsing/android/AndroidResourceParser.kt
@@ -44,7 +44,7 @@ class AndroidResourceParser {
44
45
AndroidResource.fromValuePair(
46
type = node.name().toString(),
47
- name = node.attributes().values.first()?.toString() ?: ""
+ name = node.attributes().values.firstOrNull()?.toString() ?: ""
48
)?.also { values.add(it) }
49
}
50
0 commit comments