Modern Apps git

← Modern-Apps.git

health: remove app-name title from TodayPage TopAppBar

Commit
f6590c645e95b6101226f1de4ae23d0732817134
Author
vayun-mathur <[email protected]>
When
2026-08-15 23:39 UTC (3 months ago)
Parents
b7f4280

Diff

health/src/main/java/com/vayunmathur/health/ui/TodayPage.kt
diff --git a/health/src/main/java/com/vayunmathur/health/ui/TodayPage.kt b/health/src/main/java/com/vayunmathur/health/ui/TodayPage.ktindex 6c8059c3e9..c0fafae8f7 100644--- a/health/src/main/java/com/vayunmathur/health/ui/TodayPage.kt+++ b/health/src/main/java/com/vayunmathur/health/ui/TodayPage.kt@@ -23,7 +23,6 @@ import com.vayunmathur.library.ui.MaterialTheme import com.vayunmathur.library.ui.Scaffold import com.vayunmathur.library.ui.Surface import com.vayunmathur.library.ui.Text-import com.vayunmathur.library.ui.TopAppBar import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.collectAsState@@ -129,11 +128,7 @@ fun TodayPage(backStack: NavBackStack<Route>, viewModel: HealthViewModel) { @OptIn(ExperimentalMaterial3Api::class) @Composable fun TodayScreen(state: TodayUiState, actions: TodayActions) {-    Scaffold(-        topBar = {-            TopAppBar(title = { Text(stringResource(R.string.app_name)) })-        }-    ) { paddingValues ->+    Scaffold { paddingValues ->         LazyColumn(             modifier = Modifier.fillMaxSize(),             contentPadding = PaddingValues(