Fix aboutInfo for iOS and some fixes for android

This commit is contained in:
Olof Hedman
2025-09-29 14:01:27 +02:00
parent 811dc3f10d
commit ccad0ec592
7 changed files with 60 additions and 20 deletions

View File

@@ -1,6 +1,4 @@
package app.klottr.ui
import androidx.compose.runtime.Composable
package app.klottr.platform
// TODO: Samla all platformsintegration på ett och samma ställe.
@@ -23,3 +21,6 @@ data class AboutInfo(
/** Platform provides app/build metadata for About dialog. */
expect fun appAboutInfo(): AboutInfo
expect fun platform(): String

View File

@@ -1,3 +0,0 @@
package app.klottr.shared
expect fun platform(): String

View File

@@ -47,6 +47,7 @@ import app.klottr.nearby.FoundOpenAction
import app.klottr.nearby.NearbyEntryShared
import app.klottr.net.DigitaltMuseumItem
import app.klottr.net.FornsokItem
import app.klottr.platform.appAboutInfo
import coil3.PlatformContext
import coil3.compose.AsyncImage
import coil3.compose.LocalPlatformContext