|
|
|
@ -23,7 +23,6 @@ import androidx.activity.compose.setContent
|
|
|
|
|
import androidx.activity.enableEdgeToEdge
|
|
|
|
|
import androidx.activity.viewModels
|
|
|
|
|
import androidx.compose.foundation.isSystemInDarkTheme
|
|
|
|
|
import androidx.compose.material3.adaptive.ExperimentalMaterial3AdaptiveApi
|
|
|
|
|
import androidx.compose.runtime.Composable
|
|
|
|
|
import androidx.compose.runtime.CompositionLocalProvider
|
|
|
|
|
import androidx.compose.runtime.DisposableEffect
|
|
|
|
@ -55,8 +54,6 @@ import kotlinx.coroutines.flow.onEach
|
|
|
|
|
import kotlinx.coroutines.launch
|
|
|
|
|
import javax.inject.Inject
|
|
|
|
|
|
|
|
|
|
private const val TAG = "MainActivity"
|
|
|
|
|
|
|
|
|
|
@AndroidEntryPoint
|
|
|
|
|
class MainActivity : ComponentActivity() {
|
|
|
|
|
|
|
|
|
@ -148,7 +145,6 @@ class MainActivity : ComponentActivity() {
|
|
|
|
|
androidTheme = shouldUseAndroidTheme(uiState),
|
|
|
|
|
disableDynamicTheming = shouldDisableDynamicTheming(uiState),
|
|
|
|
|
) {
|
|
|
|
|
@OptIn(ExperimentalMaterial3AdaptiveApi::class)
|
|
|
|
|
NiaApp(appState)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|