|
|
@ -140,11 +140,11 @@ class MainActivity : ComponentActivity() {
|
|
|
|
timeZoneMonitor = timeZoneMonitor,
|
|
|
|
timeZoneMonitor = timeZoneMonitor,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
val currentZoneId by appState.currentTimeZone.collectAsStateWithLifecycle()
|
|
|
|
val currentTimeZone by appState.currentTimeZone.collectAsStateWithLifecycle()
|
|
|
|
|
|
|
|
|
|
|
|
CompositionLocalProvider(
|
|
|
|
CompositionLocalProvider(
|
|
|
|
LocalAnalyticsHelper provides analyticsHelper,
|
|
|
|
LocalAnalyticsHelper provides analyticsHelper,
|
|
|
|
LocalTimeZone provides currentZoneId,
|
|
|
|
LocalTimeZone provides currentTimeZone,
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
NiaTheme(
|
|
|
|
NiaTheme(
|
|
|
|
darkTheme = darkTheme,
|
|
|
|
darkTheme = darkTheme,
|
|
|
|