Skip to content

Commit

Permalink
Make sure that a slash is appended to the end of a custom scanner URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrisimx committed Jan 25, 2025
1 parent 5d6285e commit 42f9281
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fun ScannerBrowser(
navController.navigate(
ScannerRoute(
context.getString(R.string.custom_scanner),
url.toString()
if (url.toString().endsWith("/")) url.toString() else "$url/"
)
)
}
Expand Down

0 comments on commit 42f9281

Please sign in to comment.