Add navigation title back

This commit is contained in:
世界
2026-01-17 00:17:25 +08:00
parent b327532ddb
commit 2cebff3d7e

View File

@@ -871,6 +871,7 @@ class MainActivity : ComponentActivity(), ServiceConnection.Callback {
Icon(screen.icon, contentDescription = null)
}
},
label = { Text(stringResource(screen.titleRes)) },
selected =
currentDestination?.hierarchy?.any {
it.route == screen.route