fix: перенос захардкоженных строк в strings.xml

This commit is contained in:
samosvalishe committed 2026-04-04 01:33:11 +03:00
1 parent 0265114e3d
commit bdad451722
2 files changed
+4 -2

No files matched your search

@@ -389,11 +389,11 @@ private fun InfoBottomSheet(
Text(
when (sshState) {
is SshConnectionState.Connected ->
"Подключено: ${(sshState as SshConnectionState.Connected).ip}"
stringResource(R.string.connected_format, (sshState as SshConnectionState.Connected).ip)
is SshConnectionState.Connecting ->
(sshState as SshConnectionState.Connecting).step
is SshConnectionState.Error ->
"Ошибка: ${(sshState as SshConnectionState.Error).message}"
stringResource(R.string.error_format_short, (sshState as SshConnectionState.Error).message)
else -> stringResource(R.string.not_connected)
}
)