Fix package names
This commit is contained in:
parent
c0e2eb211d
commit
f4e843f114
5 changed files with 8 additions and 5 deletions
|
@ -32,6 +32,8 @@ import tachiyomi.presentation.widget.components.CoverHeight
|
|||
import tachiyomi.presentation.widget.components.CoverWidth
|
||||
import tachiyomi.presentation.widget.components.LockedWidget
|
||||
import tachiyomi.presentation.widget.components.UpdatesWidget
|
||||
import tachiyomi.presentation.widget.util.appWidgetBackgroundRadius
|
||||
import tachiyomi.presentation.widget.util.calculateRowAndColumnCount
|
||||
import uy.kohesive.injekt.Injekt
|
||||
import uy.kohesive.injekt.api.get
|
||||
import uy.kohesive.injekt.injectLazy
|
||||
|
|
|
@ -18,7 +18,7 @@ import androidx.glance.unit.ColorProvider
|
|||
import tachiyomi.core.Constants
|
||||
import tachiyomi.presentation.widget.ContainerModifier
|
||||
import tachiyomi.presentation.widget.R
|
||||
import tachiyomi.presentation.widget.stringResource
|
||||
import tachiyomi.presentation.widget.util.stringResource
|
||||
|
||||
@Composable
|
||||
fun LockedWidget() {
|
||||
|
|
|
@ -11,7 +11,7 @@ import androidx.glance.layout.ContentScale
|
|||
import androidx.glance.layout.fillMaxSize
|
||||
import androidx.glance.layout.size
|
||||
import tachiyomi.presentation.widget.R
|
||||
import tachiyomi.presentation.widget.appWidgetInnerRadius
|
||||
import tachiyomi.presentation.widget.util.appWidgetInnerRadius
|
||||
|
||||
val CoverWidth = 58.dp
|
||||
val CoverHeight = 87.dp
|
||||
|
|
|
@ -20,8 +20,8 @@ import androidx.glance.text.Text
|
|||
import tachiyomi.core.Constants
|
||||
import tachiyomi.presentation.widget.ContainerModifier
|
||||
import tachiyomi.presentation.widget.R
|
||||
import tachiyomi.presentation.widget.calculateRowAndColumnCount
|
||||
import tachiyomi.presentation.widget.stringResource
|
||||
import tachiyomi.presentation.widget.util.calculateRowAndColumnCount
|
||||
import tachiyomi.presentation.widget.util.stringResource
|
||||
|
||||
@Composable
|
||||
fun UpdatesWidget(data: List<Pair<Long, Bitmap?>>?) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package tachiyomi.presentation.widget
|
||||
package tachiyomi.presentation.widget.util
|
||||
|
||||
import androidx.annotation.StringRes
|
||||
import androidx.compose.runtime.Composable
|
||||
|
@ -6,6 +6,7 @@ import androidx.compose.ui.unit.DpSize
|
|||
import androidx.glance.GlanceModifier
|
||||
import androidx.glance.LocalContext
|
||||
import androidx.glance.appwidget.cornerRadius
|
||||
import tachiyomi.presentation.widget.R
|
||||
|
||||
fun GlanceModifier.appWidgetBackgroundRadius(): GlanceModifier {
|
||||
return this.cornerRadius(R.dimen.appwidget_background_radius)
|
||||
|
|
Reference in a new issue