feat: make resource mapping patch aware of types (#77)

This commit is contained in:
bogadana
2022-06-30 00:48:53 +02:00
committed by GitHub
parent 6c472aa71d
commit 7b24071956
3 changed files with 14 additions and 10 deletions
@@ -62,8 +62,8 @@ class GeneralBytecodeAdsPatch : BytecodePatch(
"endscreen_element_layout_icon",
"promoted_video_item_land",
"promoted_video_item_full_bleed",
).map {
ResourceIdMappingProviderResourcePatch.resourceMappings[it]!!
).map { name ->
ResourceIdMappingProviderResourcePatch.resourceMappings.first { it.name == name }.id
}
private val stringReferences = arrayOf(