Co-authored-by: ronia <ronia@m57>
This commit is contained in:
1 parent
27ac4d72a4
commit
913c6fa878
2 files changed
-16
No files matched your search
@@ -330,12 +330,6 @@ fun MainNavigation() {
|
||||
|
||||
entry<ChatScreen> {
|
||||
ChatScreenContent(
|
||||
onNavigateToSettings = {
|
||||
// B7 (Jun 18 2026): route through
|
||||
// NavigationController to prevent
|
||||
// stacking duplicate entries.
|
||||
NavigationController.navigateTo(SettingsScreen)
|
||||
},
|
||||
onOpenDrawer = { openDrawer() },
|
||||
)
|
||||
}
|
||||
|
||||
@@ -50,7 +50,6 @@ import androidx.compose.material.icons.filled.History
|
||||
import androidx.compose.material.icons.filled.KeyboardArrowDown
|
||||
import androidx.compose.material.icons.filled.KeyboardArrowUp
|
||||
import androidx.compose.material.icons.filled.Search
|
||||
import androidx.compose.material.icons.filled.Settings
|
||||
import androidx.compose.material.icons.filled.Stop
|
||||
import androidx.compose.material3.AlertDialog
|
||||
import androidx.compose.material3.Card
|
||||
@@ -99,7 +98,6 @@ import com.m57.hermescontrol.ui.common.HermesScaffold
|
||||
|
||||
@Composable
|
||||
fun ChatScreen(
|
||||
onNavigateToSettings: () -> Unit,
|
||||
modifier: Modifier = Modifier,
|
||||
onOpenDrawer: (() -> Unit)? = null,
|
||||
viewModel: ChatViewModel = viewModel(),
|
||||
@@ -330,14 +328,6 @@ fun ChatScreen(
|
||||
if (state.isSearchActive) "Close search" else "Search",
|
||||
)
|
||||
}
|
||||
|
||||
// Settings
|
||||
IconButton(onClick = onNavigateToSettings) {
|
||||
Icon(
|
||||
imageVector = Icons.Filled.Settings,
|
||||
contentDescription = "Settings",
|
||||
)
|
||||
}
|
||||
},
|
||||
) { _ ->
|
||||
Column(
|
||||
|
||||
Reference in new issue
Block a user