Created
August 3, 2019 08:55
-
-
Save saurabharora90/bad5a21e8b0e2a7fe1af9cfeb1f8ce4c to your computer and use it in GitHub Desktop.
Missing Night Color
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object MissingNightColorIssue { | |
private const val ID = "MissingNightColor" | |
private const val DESCRIPTION = "Night Color missing" | |
const val EXPLANATION = | |
'''Night color value for this color resource seems to be missing. | |
If your app supports dark theme, then you should add an equivalent color resource for it in the night values folder.''' | |
private val CATEGORY = Category.CORRECTNESS | |
private const val PRIORITY = 6 | |
private val SEVERITY = Severity.WARNING | |
val ISSUE = Issue.create( | |
ID, | |
DESCRIPTION, | |
EXPLANATION, | |
CATEGORY, | |
PRIORITY, | |
SEVERITY, | |
Implementation( | |
MissingNightColorDetector::class.java, | |
Scope.RESOURCE_FILE_SCOPE | |
) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment