Rename aux to Torch

This commit is contained in:
Kgothatso Ngako
2026-07-05 23:21:02 +02:00
parent e92890b048
commit 6a68d82dee
8 changed files with 14 additions and 14 deletions

View File

@@ -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
}

View File

@@ -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<String> = arrayOf(

View File

@@ -95,7 +95,7 @@ fun HomeScreen(
),
title = {
Text(
"Aux"
"Torch"
)
},
navigationIcon = {

View File

@@ -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

View File

@@ -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
)

View File

@@ -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 {

View File

@@ -7,7 +7,7 @@ import androidx.navigation.compose.rememberNavController
fun main() = application {
Window(
onCloseRequest = ::exitApplication,
title = "Aux",
title = "Torch",
) {
val navController = rememberNavController()
AuxApp(

View File

@@ -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