mirror of
https://github.com/MinimalBible/MinimalBible
synced 2025-07-01 22:05:57 -04:00
Initial Angular commit
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package org.bspeice.minimalbible.activity.viewer;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
@ -112,7 +113,7 @@ public class BookFragment extends BaseFragment {
|
||||
Verse initial = new Verse(vUtil.getVersification(mBook.get()),
|
||||
BibleBook.GEN, 1, 1);
|
||||
super.onPageFinished(view, url);
|
||||
invokeJavascript("set_content", lookupService.getHTMLVerse(initial));
|
||||
// invokeJavascript("set_content", lookupService.getHTMLVerse(initial));
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -122,6 +123,11 @@ public class BookFragment extends BaseFragment {
|
||||
description);
|
||||
}
|
||||
});
|
||||
|
||||
// TODO: Remove remote debugging when ready
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
||||
WebView.setWebContentsDebuggingEnabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user