Skip to content

Commit

Permalink
file:// URLs now allowed for homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
CookieJarApps committed Aug 15, 2021
1 parent 5b04652 commit baa536a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class HomepageSettingsFragment : AbstractSettingsFragment() {
R.string.title_custom_homepage,
currentHomepage,
R.string.action_ok) { url ->
if(url.contains("http")){
if(url.startsWith("http") || url.startsWith("file")){
userPreferences.homepage = url
summaryUpdater.updateSummary(url)
}
Expand Down

0 comments on commit baa536a

Please sign in to comment.