mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 17:31:52 +01:00
Linting fixes: extend AppCompat classes
This commit is contained in:
parent
6940ad3fd9
commit
e30b1de100
@ -4,11 +4,12 @@ import android.content.Context
|
||||
import android.os.Parcelable
|
||||
import android.util.AttributeSet
|
||||
import android.widget.SeekBar
|
||||
import androidx.appcompat.widget.AppCompatSeekBar
|
||||
import eu.kanade.tachiyomi.R
|
||||
import kotlin.math.abs
|
||||
|
||||
class NegativeSeekBar @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null) :
|
||||
SeekBar(context, attrs) {
|
||||
AppCompatSeekBar(context, attrs) {
|
||||
|
||||
private var minValue: Int = 0
|
||||
private var maxValue: Int = 0
|
||||
|
@ -4,12 +4,12 @@ import android.content.Context
|
||||
import android.graphics.Canvas
|
||||
import android.graphics.Typeface
|
||||
import android.util.AttributeSet
|
||||
import android.widget.TextView
|
||||
import androidx.appcompat.widget.AppCompatTextView
|
||||
import eu.kanade.tachiyomi.R
|
||||
import java.util.HashMap
|
||||
|
||||
class PTSansTextView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null) :
|
||||
TextView(context, attrs) {
|
||||
AppCompatTextView(context, attrs) {
|
||||
|
||||
companion object {
|
||||
const val PTSANS_NARROW = 0
|
||||
|
Loading…
Reference in New Issue
Block a user