Skip to content

Commit

Permalink
Fix reading EpoxyDataBindingPattern enableDoNotHash (#837)
Browse files Browse the repository at this point in the history
The enableDoNotHash flag was incorrecly parsed as false even when it
was left at the default value (true) in the actual annotation.
  • Loading branch information
teemu-rossi authored and elihart committed Oct 4, 2019
1 parent bbdc2dc commit 2df530d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ internal class DataBindingProcessor(
val moduleName = rClassName.packageName()
val layoutClassName = ClassName.get(moduleName, "R", "layout")
val enableDoNotHash =
element.annotation<EpoxyDataBindingLayouts>()?.enableDoNotHash == true
element.annotation<EpoxyDataBindingPattern>()?.enableDoNotHash == true

Utils.getElementByName(layoutClassName, elements, types)
.enclosedElements
Expand Down

0 comments on commit 2df530d

Please sign in to comment.