diff --git a/composeApp/src/commonMain/kotlin/at/torch/compose/database/converters/AuxConverters.kt b/composeApp/src/commonMain/kotlin/at/torch/compose/database/converters/AuxConverters.kt index 03ef1f5d..47931fab 100644 --- a/composeApp/src/commonMain/kotlin/at/torch/compose/database/converters/AuxConverters.kt +++ b/composeApp/src/commonMain/kotlin/at/torch/compose/database/converters/AuxConverters.kt @@ -6,7 +6,7 @@ import kotlinx.serialization.json.Json import kotlin.time.Instant class AuxConverters { - val logger = Logger.withTag("AuxConverters") + val logger = Logger.withTag("TorchConverters") @TypeConverter fun fromTimestamp(value: Long?): Instant? { @@ -37,7 +37,7 @@ class AuxConverters { Json.encodeToString(it).lowercase() } } catch (e: Throwable) { - logger.e("Failed to convert from HexArray $value", e) + logger.e("Failed to convert from HexArray ${value.contentToString()}", e) return null } @@ -57,7 +57,7 @@ class AuxConverters { Json.encodeToString(it) } } catch (e: Throwable) { - logger.e("Failed to convert from KindArray $value", e) + logger.e("Failed to convert from KindArray ${value.contentToString()}", e) return null } @@ -77,7 +77,7 @@ class AuxConverters { Json.encodeToString(value) } } catch (e: Throwable) { - logger.e("Failed to convert from FilterArray $value", e) + logger.e("Failed to convert from FilterArray ${value.contentToString()}", e) return null } diff --git a/composeApp/src/commonMain/kotlin/at/torch/compose/network/UserAgent.kt b/composeApp/src/commonMain/kotlin/at/torch/compose/network/UserAgent.kt index 6d9b7b56..f2284da4 100644 --- a/composeApp/src/commonMain/kotlin/at/torch/compose/network/UserAgent.kt +++ b/composeApp/src/commonMain/kotlin/at/torch/compose/network/UserAgent.kt @@ -1,8 +1,8 @@ package at.torch.compose.network object UserAgent { - const val APP_NAME = "Aux" - const val CLIENT_NAME = "Aux" + const val APP_NAME = "Torch" + const val CLIENT_NAME = "Torch" } fun String.asClientTag(): Array = arrayOf( diff --git a/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/HomeScreen.kt b/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/HomeScreen.kt index 76f5cba2..7ef49b85 100644 --- a/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/HomeScreen.kt +++ b/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/HomeScreen.kt @@ -95,7 +95,7 @@ fun HomeScreen( ), title = { Text( - "Aux" + "Torch" ) }, navigationIcon = { diff --git a/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/LandingScreen.kt b/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/LandingScreen.kt index f20a3444..cbe81443 100644 --- a/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/LandingScreen.kt +++ b/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/LandingScreen.kt @@ -68,7 +68,7 @@ fun LandingScreen( } Text( - text = "Sign in to Aux via nsec, or remote signer", + text = "Sign in to Torch via nsec, or remote signer", modifier = Modifier.padding(10.dp), style = MaterialTheme.typography.labelSmall, textAlign = TextAlign.Center @@ -88,7 +88,7 @@ fun LandingScreen( } Text( - text = "If you are new to Aux or just want to create a fresh profile", + text = "If you are new to Torch or just want to create a fresh profile", modifier = Modifier.padding(10.dp), style = MaterialTheme.typography.labelSmall, textAlign = TextAlign.Center diff --git a/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/UnannouncedProfileScreen.kt b/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/UnannouncedProfileScreen.kt index 625c6309..52069381 100644 --- a/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/UnannouncedProfileScreen.kt +++ b/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/UnannouncedProfileScreen.kt @@ -44,7 +44,7 @@ fun UnannouncedProfileScreen() { ) Text( - text = "Aux will be broadcast what you publish to a distributed set of relays so that it's decentralized.", + text = "Torch will be broadcast what you publish to a distributed set of relays so that it's decentralized.", style = MaterialTheme.typography.bodySmall, textAlign = TextAlign.Center ) diff --git a/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/navigation/TorchNavHost.kt b/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/navigation/TorchNavHost.kt index 2d0c30c8..cefb9f2b 100644 --- a/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/navigation/TorchNavHost.kt +++ b/composeApp/src/commonMain/kotlin/at/torch/compose/ui/composable/navigation/TorchNavHost.kt @@ -241,14 +241,14 @@ fun TorchNavHost( onNavigateToWalletLandingPage = { navController.navigate( route = LoadingRoute( - text = "Loading... Aux" + text = "Loading... Torch" ) ) }, onNavigateToWalletIntroPage = { navController.navigate( route = LoadingRoute( - text = "Introducing... Aux" + text = "Introducing... Torch" ) ) applicationIOScope.launch { diff --git a/composeApp/src/jvmMain/kotlin/ac/cord/auxiliary/compose/main.kt b/composeApp/src/jvmMain/kotlin/ac/cord/auxiliary/compose/main.kt index 2833dfbf..4a4fd9ed 100644 --- a/composeApp/src/jvmMain/kotlin/ac/cord/auxiliary/compose/main.kt +++ b/composeApp/src/jvmMain/kotlin/ac/cord/auxiliary/compose/main.kt @@ -7,7 +7,7 @@ import androidx.navigation.compose.rememberNavController fun main() = application { Window( onCloseRequest = ::exitApplication, - title = "Aux", + title = "Torch", ) { val navController = rememberNavController() AuxApp( diff --git a/iosApp/Configuration/Config.xcconfig b/iosApp/Configuration/Config.xcconfig index 14dc2278..3faaa0ad 100644 --- a/iosApp/Configuration/Config.xcconfig +++ b/iosApp/Configuration/Config.xcconfig @@ -1,6 +1,6 @@ TEAM_ID= -PRODUCT_NAME=Aux +PRODUCT_NAME=Torch PRODUCT_BUNDLE_IDENTIFIER=ac.aux.compose.Aux$(TEAM_ID) CURRENT_PROJECT_VERSION=1