Fix lint errors introduced in PRs merged before lint PR

This commit is contained in:
Sean Mac Gillicuddy 2019-07-08 16:18:57 +01:00
parent aa0acb2123
commit 71d4217f11
3 changed files with 5 additions and 2 deletions

View File

@ -229,7 +229,8 @@ android {
abortOnError true
checkAllWarnings true
warningsAsErrors true
ignore 'MissingTranslation' //TODO stop ignoring
ignore 'MissingTranslation', //TODO stop ignoring
'CheckResult'
baseline file("lint-baseline.xml")
}

View File

@ -82,5 +82,5 @@ class FileSearch @Inject constructor(private val context: Context) {
}
private fun String.endsWithAny(vararg suffixes: String) =
internal fun String.endsWithAny(vararg suffixes: String) =
suffixes.fold(false, { acc, s -> acc or endsWith(s) })

View File

@ -10,6 +10,7 @@
android:paddingRight="0dp"
android:paddingStart="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:ignore="Overdraw"
>
<CheckBox
@ -22,6 +23,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="RtlSymmetry"
/>
<ImageView