Skip to content

Commit 10e528d

Browse files
committed
πŸ› Fixed crash issue on new BrowserActivity
1 parent ca04758 commit 10e528d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

β€Žapp/src/main/AndroidManifest.xmlβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
android:label="@string/app_name"
99
android:roundIcon="@mipmap/ic_launcher_round"
1010
android:supportsRtl="true"
11-
android:theme="@style/Theme.DotBrowser">
11+
android:theme="@style/Theme.DotBrowser"
12+
android:extractNativeLibs="true">
1213
<activity
1314
android:name=".subactivities.AddressBar"
1415
android:windowSoftInputMode="stateVisible"

β€Žapp/src/main/java/co/dothq/browser/BrowserActivity.ktβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class BrowserActivity : AppCompatActivity() {
3636
if (appSetup == false) return;
3737
val view = findViewById<GeckoView>(R.id.geckoview)
3838
val session = GeckoSession()
39-
val runtime = GeckoRuntime.create(this)
39+
val runtime = GeckoRuntime.getDefault(this)
4040

4141
session.open(runtime)
4242
view.setSession(session)

0 commit comments

Comments
Β (0)