previous PR fixes

This commit is contained in:
nrobi144
2026-01-07 07:12:00 +02:00
parent fd83560852
commit a9141763e1
9 changed files with 153 additions and 28 deletions
@@ -37,10 +37,12 @@ import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import com.vitorpamplona.amethyst.commons.SharedRes
import com.vitorpamplona.amethyst.commons.account.AccountManager
import com.vitorpamplona.amethyst.commons.account.AccountState
import com.vitorpamplona.amethyst.commons.ui.auth.LoginCard
import com.vitorpamplona.amethyst.commons.ui.auth.NewKeyWarningCard
import dev.icerock.moko.resources.compose.stringResource
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
@@ -59,7 +61,7 @@ fun LoginScreen(
verticalArrangement = Arrangement.Center,
) {
Text(
"Welcome to Amethyst",
stringResource(SharedRes.strings.login_title),
style = MaterialTheme.typography.headlineLarge,
color = MaterialTheme.colorScheme.onBackground,
)
@@ -67,7 +69,7 @@ fun LoginScreen(
Spacer(Modifier.height(8.dp))
Text(
"A Nostr client for desktop",
stringResource(SharedRes.strings.login_subtitle_desktop),
style = MaterialTheme.typography.bodyLarge,
color = MaterialTheme.colorScheme.onSurfaceVariant,
)