Fix ktlint errors
This commit is contained in:
parent
34dd7c0fbf
commit
57c28a9a9c
10 changed files with 99 additions and 47 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue