Skip to content

Commit 8711b74

Browse files
committed
style(ui): present SOCKS5 credentials on a nested, beautifully aligned sub-row in connection status card
1 parent 0d35602 commit 8711b74

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

android/app/src/main/java/com/masterdns/vpn/ui/home/HomeStatusCards.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,12 @@ fun MdvConnectionTelemetryCard(
285285
androidx.compose.foundation.layout.Spacer(modifier = Modifier.height(4.dp))
286286
Row(modifier = Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.SpaceBetween) {
287287
Text("SOCKS5 Auth", style = MaterialTheme.typography.bodySmall, color = MdvColor.OnSurfaceVariant)
288-
Text("Enabled ($socksUser:$socksPass)", style = MaterialTheme.typography.bodySmall, color = MdvColor.OnSurface, fontWeight = FontWeight.Bold)
288+
Text("Enabled", style = MaterialTheme.typography.bodySmall, color = MdvColor.OnSurface, fontWeight = FontWeight.Bold)
289+
}
290+
androidx.compose.foundation.layout.Spacer(modifier = Modifier.height(2.dp))
291+
Row(modifier = Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.SpaceBetween) {
292+
Text(" ↳ Credentials", style = MaterialTheme.typography.bodySmall, color = MdvColor.OnSurfaceVariant)
293+
Text("$socksUser:$socksPass", style = MaterialTheme.typography.bodySmall, color = MdvColor.OnSurfaceVariant)
289294
}
290295
}
291296
}

0 commit comments

Comments
 (0)