Skip to content

Commit

Permalink
Pull open source license page title from HTML (getodk#2498)
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamyPhobic authored and lognaturel committed Aug 24, 2018
1 parent 50d276c commit 802bc75
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions collect_app/src/main/assets/open_source_licenses.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
-->
<html>
<head>
<title>Open Source Licenses</title>
<style>
body {
font-family: sans-serif;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public boolean shouldOverrideUrlLoading(WebView view, String url) {
public void onPageFinished(WebView view, String url) {
super.onPageFinished(view, url);
progressBar.setVisibility(View.GONE);
getSupportActionBar().setTitle("Open Source Licenses");
getSupportActionBar().setTitle(view.getTitle());
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ zipStorePath=wrapper/dists
android.enableD8.desugaring=true
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip
# Android Studio Gradle wrapper 3.1.2 doesn't support configure on demand
org.gradle.configureondemand=false
org.gradle.configureondemand=false

0 comments on commit 802bc75

Please sign in to comment.