refactor: use .single for resourceMappings

This commit is contained in:
oSumAtrIX
2022-07-17 16:03:20 +02:00
parent 986065858d
commit cc39b77b49
3 changed files with 4 additions and 4 deletions
@@ -58,7 +58,7 @@ class GeneralBytecodeAdsPatch : BytecodePatch() {
"promoted_video_item_land",
"promoted_video_item_full_bleed",
).map { name ->
ResourceIdMappingProviderResourcePatch.resourceMappings.first { it.name == name }.id
ResourceIdMappingProviderResourcePatch.resourceMappings.single { it.name == name }.id
}
private val stringReferences = arrayOf(