Skip to content

Commit

Permalink
Update branch name in WebView sample
Browse files Browse the repository at this point in the history
This updates the main branch name from "master" to "main" in the WebView
sample. Nothing has changed in these files since the main branch was
renamed, but using the new name is good in case something does change in
the future.
  • Loading branch information
nfischer committed Feb 27, 2021
1 parent f5e3c68 commit 64afbc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion WebView/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ submitting a pull request through GitHub. Please see [CONTRIBUTING.md][4] for mo
[1]: https://developer.android.com/reference/androidx/webkit/package-summary
[2]: https://github.com/android/views-widgets-samples
[3]: http://stackoverflow.com/questions/tagged/android
[4]: https://github.com/android/views-widgets-samples/blob/master/CONTRIBUTING.md
[4]: https://github.com/android/views-widgets-samples/blob/main/CONTRIBUTING.md
2 changes: 1 addition & 1 deletion WebView/app/src/main/assets/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function sendAndroidMessage() {

function getData() {
// This JSON files is hosted over the web
fetch("https://raw.githubusercontent.com/android/views-widgets-samples/master/WebView/sampleData/weather.json").then(function(resp) {
fetch("https://raw.githubusercontent.com/android/views-widgets-samples/main/WebView/sampleData/weather.json").then(function(resp) {
return resp.json();
}).then(function(data) {
var form = document.getElementById("location");
Expand Down

0 comments on commit 64afbc1

Please sign in to comment.