From 018fe29a75fc124483f2a9f66a18f44897e8a745 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Wed, 18 Jun 2014 22:58:54 -0400 Subject: [PATCH] One last minor tweak to show the book name instead of random text. --- .../bspeice/minimalbible/activities/viewer/BookFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MinimalBible/src/main/java/org/bspeice/minimalbible/activities/viewer/BookFragment.java b/MinimalBible/src/main/java/org/bspeice/minimalbible/activities/viewer/BookFragment.java index 19f32a4..d5018b1 100644 --- a/MinimalBible/src/main/java/org/bspeice/minimalbible/activities/viewer/BookFragment.java +++ b/MinimalBible/src/main/java/org/bspeice/minimalbible/activities/viewer/BookFragment.java @@ -108,7 +108,7 @@ public class BookFragment extends BaseFragment { @Override public void onPageFinished(WebView view, String url) { super.onPageFinished(view, url); - invokeJavascript("set_content", "Hello, world."); + invokeJavascript("set_content", BookFragment.this.mBook.getName()); } });