summaryrefslogtreecommitdiff
path: root/ui/src/androidMain/kotlin/coffee
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/androidMain/kotlin/coffee')
-rw-r--r--ui/src/androidMain/kotlin/coffee/liz/rookery/ui/Svg.android.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/src/androidMain/kotlin/coffee/liz/rookery/ui/Svg.android.kt b/ui/src/androidMain/kotlin/coffee/liz/rookery/ui/Svg.android.kt
new file mode 100644
index 0000000..4463466
--- /dev/null
+++ b/ui/src/androidMain/kotlin/coffee/liz/rookery/ui/Svg.android.kt
@@ -0,0 +1,7 @@
+package coffee.liz.rookery.ui
+
+import androidx.compose.ui.graphics.painter.Painter
+import androidx.compose.ui.unit.Density
+
+/** Android has no built-in SVG renderer; scramble drawings fall back to the 3D view where there is one. */
+actual fun svgPainter(svg: String, density: Density): Painter? = null