mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-21 03:02:59 -04:00
Fix lint errors introduced in PRs merged before lint PR
This commit is contained in:
parent
aa0acb2123
commit
71d4217f11
@ -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")
|
||||
}
|
||||
|
||||
|
@ -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) })
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user