mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
fix(android): use SoLoader to load sqlite native library
This commit is contained in:
parent
3bb5dfffbe
commit
80ab034493
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ class ClawApplication : Application(), ApplicationComponentOwner {
|
||||||
Whetstone.inject(this)
|
Whetstone.inject(this)
|
||||||
super.onCreate()
|
super.onCreate()
|
||||||
SoLoader.init(this, false)
|
SoLoader.init(this, false)
|
||||||
|
SoLoader.loadLibrary("sqlite3x")
|
||||||
plugins.forEach { plugin -> plugin.apply(this) }
|
plugins.forEach { plugin -> plugin.apply(this) }
|
||||||
val postUpdateWorkRequest =
|
val postUpdateWorkRequest =
|
||||||
PeriodicWorkRequestBuilder<SavedPostUpdaterWorker>(POST_REFRESH_PERIOD, TimeUnit.HOURS)
|
PeriodicWorkRequestBuilder<SavedPostUpdaterWorker>(POST_REFRESH_PERIOD, TimeUnit.HOURS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue