Fix ktlint errors

This commit is contained in:
Stypox 2020-11-04 18:07:40 +01:00
parent 34dd7c0fbf
commit 57c28a9a9c
10 changed files with 99 additions and 47 deletions

View file

@ -2,8 +2,8 @@ package org.schabi.newpipe.about
import android.net.Uri
import android.os.Parcelable
import java.io.Serializable
import kotlinx.android.parcel.Parcelize
import java.io.Serializable
/**
* Class for storing information about a software license.
@ -12,8 +12,8 @@ import kotlinx.android.parcel.Parcelize
class License(val name: String, val abbreviation: String, val filename: String) : Parcelable, Serializable {
val contentUri: Uri
get() = Uri.Builder()
.scheme("file")
.path("/android_asset")
.appendPath(filename)
.build()
.scheme("file")
.path("/android_asset")
.appendPath(filename)
.build()
}