We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d328db8 + c3a4525 commit 472ced3Copy full SHA for 472ced3
app/src/main/kotlin/ee/ria/DigiDoc/fragment/screen/ProxyServicesSettingsScreen.kt
@@ -743,10 +743,11 @@ fun ProxyServicesSettingsScreen(
743
verticalAlignment = Alignment.CenterVertically,
744
) {
745
TextButton(onClick = {
746
+ val proxyPort = proxyPort.text.toIntOrNull() ?: 80
747
sharedSettingsViewModel.checkConnection(
748
ManualProxy(
749
host = proxyHost.text,
- port = proxyPort.text.toInt(),
750
+ port = proxyPort,
751
username = proxyUsername.text,
752
password = proxyPassword.text,
753
),
0 commit comments