Skip to content

Commit

Permalink
Update MainActivity.java
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGoogler committed Nov 11, 2023
1 parent 2cf9af6 commit 4cb1fe3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void onCreate(Bundle savedInstanceState) {
NativeStorage ns = new NativeStorage(this);
NativeOS os = new NativeOS(this);
try {
this.applyTheme(wv, ns);
this.applyTheme(wv, ns, os);
} catch (JSONException e) {
throw new RuntimeException(e);
}
Expand Down Expand Up @@ -77,7 +77,7 @@ public void onCreate(Bundle savedInstanceState) {
wv.addJavascriptInterface(new NativeEnvironment(this), "__environment__");
wv.addJavascriptInterface(new NativeShell(wv), "__shell__");
wv.addJavascriptInterface(new NativeBuildConfig(), "__buildconfig__");
wv.addJavascriptInterface(new NativeOS(this), "__os__");
wv.addJavascriptInterface(os, "__os__");
wv.addJavascriptInterface(ns, "__nativeStorage__");
wv.addJavascriptInterface(new NativeProperties(), "__properties__");
wv.addJavascriptInterface(new NativeLog(), "__log__");
Expand Down

0 comments on commit 4cb1fe3

Please sign in to comment.