Merge pull request #2043 from nextcloud/settingsControllerMigration

Migrate SettingsController to kotlin + viewbinding
This commit is contained in:
Andy Scherzinger 2022-05-16 22:30:23 +02:00 committed by GitHub
commit 580a96b664
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 1069 additions and 1039 deletions

File diff suppressed because it is too large Load diff

View file

@ -30,11 +30,7 @@ import kotlinx.android.parcel.Parcelize
data class GenericOverall(
@JsonField(name = ["meta"])
var meta: GenericMeta? = null
) : IGenericOCS, Parcelable {
) : Parcelable {
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'
constructor() : this(null)
override fun getGenericMeta(): GenericMeta? {
return meta
}
}

View file

@ -1,5 +1,5 @@
build:
maxIssues: 91
maxIssues: 89
weights:
# complexity: 2
# LongParameterList: 1

View file

@ -1 +1 @@
364
361

View file

@ -1,2 +1,2 @@
DO NOT TOUCH; GENERATED BY DRONE
<span class="mdl-layout-title">Lint Report: 1 error and 132 warnings</span>
<span class="mdl-layout-title">Lint Report: 1 error and 104 warnings</span>