Skip to content

Commit

Permalink
Use URI authority directly
Browse files Browse the repository at this point in the history
  • Loading branch information
sunkup committed Jan 15, 2025
1 parent 3bb03d2 commit 2766bb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class LoginActivity @Inject constructor(): AppCompatActivity() {
if (realScheme != null) {
val realUri = Uri.Builder()
.scheme(realScheme)
.encodedAuthority(uri.host+":"+uri.port)
.encodedAuthority(uri.authority)
.path(uri.path)
.query(uri.query)
givenUri = realUri.build().toString()
Expand Down

0 comments on commit 2766bb3

Please sign in to comment.