Use filename instead

This commit is contained in:
ydinath 2018-05-05 18:07:51 -04:00
parent ce1f0620fe
commit 274230ad25
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ public class AboutActivity extends AppCompatActivity {
.observeOn(AndroidSchedulers.mainThread())
.subscribe(
webViewData ->
webView.loadDataWithBaseURL("file:///android_asset/", webViewData.toString(), "text/html", "utf-8", "file:///android_asset/" + webViewData.toString()),
webView.loadDataWithBaseURL("file:///android_asset/", webViewData.toString(), "text/html", "utf-8", "file:///android_asset/" + filename.toString()),
error -> Log.e(TAG, Log.getStackTraceString(error))
);
}