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.
1 parent ac186ee commit 3c4ef24Copy full SHA for 3c4ef24
app/src/main/kotlin/ee/ria/DigiDoc/fragment/screen/ProxyServicesSettingsScreen.kt
@@ -743,10 +743,16 @@ fun ProxyServicesSettingsScreen(
743
verticalAlignment = Alignment.CenterVertically,
744
) {
745
TextButton(onClick = {
746
+ val proxyPort =
747
+ if (proxyPort.text == "") {
748
+ 0
749
+ } else {
750
+ proxyPort.text.toInt()
751
+ }
752
sharedSettingsViewModel.checkConnection(
753
ManualProxy(
754
host = proxyHost.text,
- port = proxyPort.text.toInt(),
755
+ port = proxyPort,
756
username = proxyUsername.text,
757
password = proxyPassword.text,
758
),
0 commit comments