This commit is contained in:
sim 2024-12-03 09:01:33 +00:00
parent 5cc002475a
commit 19ab14305f
2 changed files with 2 additions and 9 deletions

View File

@ -100,13 +100,7 @@ fun AppBarUi(viewModel: ViewModel) {
}
@Composable
fun Dropdown(
expanded: Boolean,
onRestart: () -> Unit,
onLogout: () -> Unit,
onDismiss: () -> Unit,
onNewChannel: () -> Unit
) {
fun Dropdown(expanded: Boolean, onRestart: () -> Unit, onLogout: () -> Unit, onDismiss: () -> Unit, onNewChannel: () -> Unit) {
DropdownMenu(
expanded = expanded,
onDismissRequest = onDismiss
@ -139,7 +133,6 @@ fun Dropdown(
}
}
@Preview
@Composable
fun LogoutConfirmationDialog(onDismissRequest: () -> Unit = {}, onConfirmation: () -> Unit = {}) {