playback: fix lints
This commit is contained in:
@@ -1,3 +1,21 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2026 Auxio Project
|
||||||
|
* RoundModeMaskableFrameLayout.kt is part of Auxio.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package org.oxycblt.auxio.playback.ui
|
package org.oxycblt.auxio.playback.ui
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
@@ -5,17 +23,15 @@ import android.util.AttributeSet
|
|||||||
import com.google.android.material.carousel.MaskableFrameLayout
|
import com.google.android.material.carousel.MaskableFrameLayout
|
||||||
import com.google.android.material.shape.ShapeAppearanceModel
|
import com.google.android.material.shape.ShapeAppearanceModel
|
||||||
import dagger.hilt.android.AndroidEntryPoint
|
import dagger.hilt.android.AndroidEntryPoint
|
||||||
import org.oxycblt.auxio.ui.UISettings
|
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
import org.oxycblt.auxio.ui.UISettings
|
||||||
|
|
||||||
@AndroidEntryPoint
|
@AndroidEntryPoint
|
||||||
class RoundModeMaskableFrameLayout @JvmOverloads constructor(
|
class RoundModeMaskableFrameLayout
|
||||||
context: Context,
|
@JvmOverloads
|
||||||
attrs: AttributeSet? = null,
|
constructor(context: Context, attrs: AttributeSet? = null, defStyleRes: Int = -1) :
|
||||||
defStyleRes: Int = -1
|
MaskableFrameLayout(context, attrs, defStyleRes) {
|
||||||
) : MaskableFrameLayout(context, attrs, defStyleRes) {
|
@Inject lateinit var uiSettings: UISettings
|
||||||
@Inject
|
|
||||||
lateinit var uiSettings: UISettings
|
|
||||||
|
|
||||||
init {
|
init {
|
||||||
// The parent FrameLayout will have already fetched/applied a rounded shape appearance
|
// The parent FrameLayout will have already fetched/applied a rounded shape appearance
|
||||||
|
|||||||
Reference in New Issue
Block a user