Yokan / rebuild
Course 1 8624561

ProfileRegistry.android.kt

composeApp/src/androidMain/kotlin/eu/friedcutlet/yokan/app/profiles/ProfileRegistry.android.kt

implementation9 lines
1package eu.friedcutlet.yokan.app.profiles23import eu.friedcutlet.yokan.AndroidAppContext4import java.io.File56actual fun createPlatformProfileRegistry(): ProfileRegistry {7    val context = checkNotNull(AndroidAppContext.appContext) { "Android context unavailable" }8    return ProfileRegistry(FileProfileRegistryPersistence(File(context.filesDir, "profiles/registry.json")))9}10

Search chapters, reference and source filenames.