From f8e797fd2698b84eb62974e537b9981f7812079e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Mlynari=C4=8D?= Date: Tue, 6 Feb 2024 08:53:04 +0100 Subject: [PATCH] Rename currentTimezone variable Change-Id: I92630f6851b0253294a8d3ec2e5b3cbe7db74b4d --- .../com/google/samples/apps/nowinandroid/MainActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/google/samples/apps/nowinandroid/MainActivity.kt b/app/src/main/kotlin/com/google/samples/apps/nowinandroid/MainActivity.kt index afe3b51eb..ad95c297f 100644 --- a/app/src/main/kotlin/com/google/samples/apps/nowinandroid/MainActivity.kt +++ b/app/src/main/kotlin/com/google/samples/apps/nowinandroid/MainActivity.kt @@ -140,11 +140,11 @@ class MainActivity : ComponentActivity() { timeZoneMonitor = timeZoneMonitor, ) - val currentZoneId by appState.currentTimeZone.collectAsStateWithLifecycle() + val currentTimeZone by appState.currentTimeZone.collectAsStateWithLifecycle() CompositionLocalProvider( LocalAnalyticsHelper provides analyticsHelper, - LocalTimeZone provides currentZoneId, + LocalTimeZone provides currentTimeZone, ) { NiaTheme( darkTheme = darkTheme,