1package soy.iko.opencode.ui.components
3import androidx.compose.foundation.layout.Box
4import androidx.compose.foundation.layout.padding
5import androidx.compose.material.icons.Icons
6import androidx.compose.material.icons.automirrored.filled.ArrowBack
7import androidx.compose.material3.ExperimentalMaterial3Api
8import androidx.compose.material3.Icon
9import androidx.compose.material3.IconButton
10import androidx.compose.material3.Scaffold
11import androidx.compose.material3.Text
12import androidx.compose.material3.TopAppBar
13import androidx.compose.runtime.Composable
14import androidx.compose.ui.Alignment
15import androidx.compose.ui.Modifier
16import androidx.compose.ui.unit.dp
18/** Shared placeholder for not-yet-implemented destinations. */
19@OptIn(ExperimentalMaterial3Api::class)
21fun StubScreen(title: String, message: String, onBack: () -> Unit) {
25 title = { Text(title) },
27 IconButton(onClick = onBack) {
28 Icon(Icons.AutoMirrored.Filled.ArrowBack, contentDescription = "Back")
35 modifier = Modifier.padding(padding).padding(24.dp),
36 contentAlignment = Alignment.Center,
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list