Skip to content

Commit

Permalink
remove reference to removed function
Browse files Browse the repository at this point in the history
  • Loading branch information
TSampley committed Sep 19, 2024
1 parent 1c1c48f commit dfa64fe
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@ import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.runtime.remember
import org.koin.mp.KoinPlatform.getKoin
import org.pointyware.xyz.shared.XyzApp
import org.pointyware.xyz.shared.di.getDependencies
import org.pointyware.xyz.shared.di.AppDependencies

class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)

val koin = getKoin()
val appDependencies = koin.get<AppDependencies>()

setContent {
val appDependencies = remember { getDependencies() }
XyzApp(
dependencies = appDependencies,
isDarkTheme = isSystemInDarkTheme()
Expand Down

0 comments on commit dfa64fe

Please sign in to comment.