Refactor where Dagger Components belongs (in node)

This commit is contained in:
ganfra 2023-01-12 21:14:48 +01:00
parent 020fd3b458
commit ae2534488b
14 changed files with 98 additions and 193 deletions

View file

@ -39,7 +39,6 @@ class MainActivity : NodeComponentActivity() {
WindowCompat.setDecorFitsSystemWindows(window, false)
setContent {
ElementXTheme {
// A surface container using the 'background' color from the theme
Surface(
modifier = Modifier.fillMaxSize(),
color = MaterialTheme.colorScheme.background
@ -49,7 +48,6 @@ class MainActivity : NodeComponentActivity() {
buildContext = it,
appComponentOwner = applicationContext as DaggerComponentOwner,
matrix = appBindings.matrix(),
sessionComponentsOwner = appBindings.sessionComponentsOwner(),
rootPresenter = appBindings.rootPresenter()
)
}