[fenix] No issue: minimize Button...Detector violation location.

This changes the error highlighting from being the entire contents of
<Button ...> to just the first line of <Button>.
pull/600/head
Michael Comella 4 years ago committed by ekager
parent ea70865b6a
commit 095078a325

@ -58,7 +58,7 @@ class ButtonStyleXmlDetector : ResourceXmlDetector() {
context.report(
issue = ISSUE_XML_STYLE,
scope = element,
location = context.getLocation(element),
location = context.getElementLocation(element),
message = ERROR_MESSAGE
)
}

Loading…
Cancel
Save