mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 03:58:56 +01:00
Reuse basic theme preview annotation
This commit is contained in:
15
app/src/main/java/eu/kanade/presentation/util/Preview.kt
Normal file
15
app/src/main/java/eu/kanade/presentation/util/Preview.kt
Normal file
@@ -0,0 +1,15 @@
|
||||
package eu.kanade.presentation.util
|
||||
|
||||
import android.content.res.Configuration
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
|
||||
@Preview(
|
||||
name = "Light",
|
||||
showBackground = true,
|
||||
)
|
||||
@Preview(
|
||||
name = "Dark",
|
||||
showBackground = true,
|
||||
uiMode = Configuration.UI_MODE_NIGHT_YES,
|
||||
)
|
||||
annotation class ThemePreviews
|
||||
Reference in New Issue
Block a user