mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 12:07:09 +00:00
chore(folio): remove SDK initialization from FolioApplication
This commit is contained in:
1 parent
1a0f9710c2
commit
d512e11385
1 file changed
-10
@@ -3,21 +3,11 @@ package app.folio
|
|||||||
import android.app.Application
|
import android.app.Application
|
||||||
import app.folio.data.AndroidLedgerContext
|
import app.folio.data.AndroidLedgerContext
|
||||||
import app.folio.data.Repository
|
import app.folio.data.Repository
|
||||||
import app.folio.sanderling.AccountSnapshots
|
|
||||||
import app.folio.sanderling.AuthSnapshots
|
|
||||||
import app.folio.sanderling.LedgerSnapshots
|
|
||||||
import app.folio.sanderling.NavigationSnapshots
|
|
||||||
import dev.sanderling.sdk.Sanderling
|
|
||||||
|
|
||||||
class FolioApplication : Application() {
|
class FolioApplication : Application() {
|
||||||
override fun onCreate() {
|
override fun onCreate() {
|
||||||
super.onCreate()
|
super.onCreate()
|
||||||
AndroidLedgerContext.context = applicationContext
|
AndroidLedgerContext.context = applicationContext
|
||||||
Repository.init()
|
Repository.init()
|
||||||
Sanderling.start(this)
|
|
||||||
AuthSnapshots
|
|
||||||
AccountSnapshots
|
|
||||||
LedgerSnapshots
|
|
||||||
NavigationSnapshots
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user