Baseline Compose Multiplatform Iroh migration

This commit is contained in:
2026-07-02 23:53:47 +02:00
commit 90463d7210
64 changed files with 8439 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
package com.vnidrop.app
import androidx.compose.ui.window.ComposeUIViewController
fun MainViewController() = ComposeUIViewController { App() }

View File

@@ -0,0 +1,12 @@
package com.vnidrop.app
import platform.UIKit.UIDevice
import platform.Foundation.NSTemporaryDirectory
class IOSPlatform : Platform {
override val name: String = UIDevice.currentDevice.systemName() + " " + UIDevice.currentDevice.systemVersion
override val defaultCoreDataDir: String = NSTemporaryDirectory() + "vnidrop"
override val defaultReceiveDir: String = NSTemporaryDirectory() + "vnidrop-receive"
}
actual fun getPlatform(): Platform = IOSPlatform()