android, desktop: fix footer of web port setting

This commit is contained in:
Evgeny Poberezkin
2025-02-05 21:54:51 +00:00
parent e6ddbc1172
commit 6b7c4509fe
@@ -230,7 +230,7 @@ fun ModalData.AdvancedNetworkSettingsView(showModal: (ModalData.() -> Unit) -> U
smpWebPort.value = it
}
}
SectionTextFooter(stringResource(MR.strings.private_routing_explanation))
SectionTextFooter(String.format(stringResource(MR.strings.network_smp_web_port_footer), if (smpWebPort.value) "443" else "5223"))
SectionDividerSpaced(maxTopPadding = true)
SectionView(stringResource(MR.strings.network_option_tcp_connection).uppercase()) {