diff --git a/app/src/main/kotlin/com/hippo/ehviewer/ui/legacy/SimpleRatingView.kt b/app/src/main/kotlin/com/hippo/ehviewer/ui/legacy/SimpleRatingView.kt deleted file mode 100644 index 05a5f0c52..000000000 --- a/app/src/main/kotlin/com/hippo/ehviewer/ui/legacy/SimpleRatingView.kt +++ /dev/null @@ -1,26 +0,0 @@ -package com.hippo.ehviewer.ui.legacy - -import android.content.Context -import android.util.AttributeSet -import androidx.compose.runtime.Composable -import androidx.compose.runtime.getValue -import androidx.compose.runtime.mutableFloatStateOf -import androidx.compose.runtime.setValue -import androidx.compose.ui.platform.AbstractComposeView -import com.google.accompanist.themeadapter.material3.Mdc3Theme -import com.hippo.ehviewer.ui.tools.GalleryListCardRating - -class SimpleRatingView @JvmOverloads constructor( - context: Context, - attrs: AttributeSet? = null, - defStyle: Int = 0, -) : AbstractComposeView(context, attrs, defStyle) { - var rating by mutableFloatStateOf(0f) - - @Composable - override fun Content() { - Mdc3Theme { - GalleryListCardRating(rating) - } - } -}