mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 03:58:56 +01:00
Use custom QueryPagingSource (#7321)
* Use custom QueryPagingSource - Adds placeholder to make the list jump around less - Fixes issue where SQLDelight QueryPagingSource would throw IndexOutOfBounds * Review Changes
This commit is contained in:
9
app/src/main/java/eu/kanade/presentation/util/Shimmer.kt
Normal file
9
app/src/main/java/eu/kanade/presentation/util/Shimmer.kt
Normal file
@@ -0,0 +1,9 @@
|
||||
package eu.kanade.presentation.util
|
||||
|
||||
import androidx.compose.ui.graphics.Color
|
||||
|
||||
val shimmerGradient = listOf(
|
||||
Color.LightGray.copy(alpha = 0.8f),
|
||||
Color.LightGray.copy(alpha = 0.2f),
|
||||
Color.LightGray.copy(alpha = 0.8f),
|
||||
)
|
||||
Reference in New Issue
Block a user