Fix aboutInfo for iOS and some fixes for android
This commit is contained in:
@@ -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
|
||||
@@ -1,3 +0,0 @@
|
||||
package app.klottr.shared
|
||||
|
||||
expect fun platform(): String
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user