Refactor torch to mantra
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
package at.torch.compose
|
||||
|
||||
actual class PlatformContext
|
||||
@@ -1,4 +1,4 @@
|
||||
package at.torch.compose
|
||||
package press.mantra.compose
|
||||
|
||||
import platform.Foundation.NSBundle
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package at.torch.compose
|
||||
package press.mantra.compose
|
||||
|
||||
import androidx.compose.ui.window.ComposeUIViewController
|
||||
import androidx.navigation.compose.rememberNavController
|
||||
@@ -7,9 +7,9 @@ import fr.acinq.phoenix.PhoenixGlobal
|
||||
fun MainViewController() = ComposeUIViewController {
|
||||
val navController = rememberNavController()
|
||||
|
||||
TorchApp(
|
||||
MantraApp(
|
||||
navController = navController,
|
||||
torchGlobal = TorchGlobal(
|
||||
mantraGlobal = MantraGlobal(
|
||||
platformContext = PlatformContext()
|
||||
),
|
||||
phoenixGlobal = PhoenixGlobal(
|
||||
@@ -1,4 +1,4 @@
|
||||
package at.torch.compose
|
||||
package press.mantra.compose
|
||||
|
||||
import platform.UIKit.UIDevice
|
||||
import kotlin.native.Platform
|
||||
@@ -0,0 +1,3 @@
|
||||
package press.mantra.compose
|
||||
|
||||
actual class PlatformContext
|
||||
@@ -1,9 +1,9 @@
|
||||
package at.torch.compose.database.builder
|
||||
package press.mantra.compose.database.builder
|
||||
|
||||
import androidx.room3.Room
|
||||
import androidx.room3.RoomDatabase
|
||||
import at.torch.compose.PlatformContext
|
||||
import at.torch.compose.database.TorchDatabase
|
||||
import press.mantra.compose.PlatformContext
|
||||
import press.mantra.compose.database.TorchDatabase
|
||||
import kotlinx.cinterop.ExperimentalForeignApi
|
||||
import platform.Foundation.NSDocumentDirectory
|
||||
import platform.Foundation.NSFileManager
|
||||
@@ -1,4 +1,4 @@
|
||||
package at.torch.compose.extensions
|
||||
package press.mantra.compose.extensions
|
||||
|
||||
import co.touchlab.kermit.Logger
|
||||
import fr.acinq.bitcoin.Chain
|
||||
@@ -1,4 +1,4 @@
|
||||
package at.torch.compose.ui.theme
|
||||
package press.mantra.compose.ui.theme
|
||||
|
||||
import androidx.compose.material3.ColorScheme
|
||||
import androidx.compose.runtime.Composable
|
||||
@@ -1,6 +1,6 @@
|
||||
package at.torch.compose.ui.view.model
|
||||
package press.mantra.compose.ui.view.model
|
||||
|
||||
import at.torch.compose.AppVersion
|
||||
import press.mantra.compose.AppVersion
|
||||
import co.touchlab.kermit.Logger
|
||||
import fr.acinq.bitcoin.Chain
|
||||
import fr.acinq.bitcoin.MnemonicCode
|
||||
Reference in New Issue
Block a user