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 ad72c95 commit 4e97ba9Copy full SHA for 4e97ba9
1 file changed
app/src/main/java/com/tien/piholeconnect/ui/App.kt
@@ -81,8 +81,9 @@ fun App(
81
URLBuilder(
82
protocol = it.protocol.toKtorURLProtocol(),
83
host = it.host,
84
- user = it.basicAuthUsername,
85
- password = it.basicAuthPassword
+ port = it.port,
+ user = it.basicAuthUsername.ifBlank { null },
86
+ password = it.basicAuthPassword.ifBlank { null }
87
).buildString(),
88
R.string.options_menu_web_dashboard,
89
Icons.TwoTone.OpenInNew,
0 commit comments