Show the selected Android settings section in the header
This commit is contained in:
1 parent
782657a3fc
commit
33cd27acd0
1 file changed
+1
-1
@@ -158,7 +158,7 @@ fun SettingsScreen(vm: ChatViewModel, onBack: () -> Unit, onExit: () -> Unit = {
|
||||
Scaffold(
|
||||
topBar = {
|
||||
TopAppBar(
|
||||
title = { Text(stringResource(R.string.settings)) },
|
||||
title = { Text(stringResource(tabs[tabIndex].first)) },
|
||||
navigationIcon = { IconButton(onClick = handleBack) { Icon(Icons.AutoMirrored.Filled.ArrowBack, stringResource(R.string.back)) } }
|
||||
)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user