mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-28 22:02:55 -05:00
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.CoverWidth
|
||||||
import tachiyomi.presentation.widget.components.LockedWidget
|
import tachiyomi.presentation.widget.components.LockedWidget
|
||||||
import tachiyomi.presentation.widget.components.UpdatesWidget
|
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.Injekt
|
||||||
import uy.kohesive.injekt.api.get
|
import uy.kohesive.injekt.api.get
|
||||||
import uy.kohesive.injekt.injectLazy
|
import uy.kohesive.injekt.injectLazy
|
||||||
|
|
|
@ -18,7 +18,7 @@ import androidx.glance.unit.ColorProvider
|
||||||
import tachiyomi.core.Constants
|
import tachiyomi.core.Constants
|
||||||
import tachiyomi.presentation.widget.ContainerModifier
|
import tachiyomi.presentation.widget.ContainerModifier
|
||||||
import tachiyomi.presentation.widget.R
|
import tachiyomi.presentation.widget.R
|
||||||
import tachiyomi.presentation.widget.stringResource
|
import tachiyomi.presentation.widget.util.stringResource
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun LockedWidget() {
|
fun LockedWidget() {
|
||||||
|
|
|
@ -11,7 +11,7 @@ import androidx.glance.layout.ContentScale
|
||||||
import androidx.glance.layout.fillMaxSize
|
import androidx.glance.layout.fillMaxSize
|
||||||
import androidx.glance.layout.size
|
import androidx.glance.layout.size
|
||||||
import tachiyomi.presentation.widget.R
|
import tachiyomi.presentation.widget.R
|
||||||
import tachiyomi.presentation.widget.appWidgetInnerRadius
|
import tachiyomi.presentation.widget.util.appWidgetInnerRadius
|
||||||
|
|
||||||
val CoverWidth = 58.dp
|
val CoverWidth = 58.dp
|
||||||
val CoverHeight = 87.dp
|
val CoverHeight = 87.dp
|
||||||
|
|
|
@ -20,8 +20,8 @@ import androidx.glance.text.Text
|
||||||
import tachiyomi.core.Constants
|
import tachiyomi.core.Constants
|
||||||
import tachiyomi.presentation.widget.ContainerModifier
|
import tachiyomi.presentation.widget.ContainerModifier
|
||||||
import tachiyomi.presentation.widget.R
|
import tachiyomi.presentation.widget.R
|
||||||
import tachiyomi.presentation.widget.calculateRowAndColumnCount
|
import tachiyomi.presentation.widget.util.calculateRowAndColumnCount
|
||||||
import tachiyomi.presentation.widget.stringResource
|
import tachiyomi.presentation.widget.util.stringResource
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun UpdatesWidget(data: List<Pair<Long, Bitmap?>>?) {
|
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.annotation.StringRes
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
|
@ -6,6 +6,7 @@ import androidx.compose.ui.unit.DpSize
|
||||||
import androidx.glance.GlanceModifier
|
import androidx.glance.GlanceModifier
|
||||||
import androidx.glance.LocalContext
|
import androidx.glance.LocalContext
|
||||||
import androidx.glance.appwidget.cornerRadius
|
import androidx.glance.appwidget.cornerRadius
|
||||||
|
import tachiyomi.presentation.widget.R
|
||||||
|
|
||||||
fun GlanceModifier.appWidgetBackgroundRadius(): GlanceModifier {
|
fun GlanceModifier.appWidgetBackgroundRadius(): GlanceModifier {
|
||||||
return this.cornerRadius(R.dimen.appwidget_background_radius)
|
return this.cornerRadius(R.dimen.appwidget_background_radius)
|
||||||
|
|
Loading…
Reference in a new issue