Lint
This commit is contained in:
parent
5cc002475a
commit
19ab14305f
|
@ -25,4 +25,4 @@ class LastEventId(private val store: AppStore) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -100,13 +100,7 @@ fun AppBarUi(viewModel: ViewModel) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun Dropdown(
|
fun Dropdown(expanded: Boolean, onRestart: () -> Unit, onLogout: () -> Unit, onDismiss: () -> Unit, onNewChannel: () -> Unit) {
|
||||||
expanded: Boolean,
|
|
||||||
onRestart: () -> Unit,
|
|
||||||
onLogout: () -> Unit,
|
|
||||||
onDismiss: () -> Unit,
|
|
||||||
onNewChannel: () -> Unit
|
|
||||||
) {
|
|
||||||
DropdownMenu(
|
DropdownMenu(
|
||||||
expanded = expanded,
|
expanded = expanded,
|
||||||
onDismissRequest = onDismiss
|
onDismissRequest = onDismiss
|
||||||
|
@ -139,7 +133,6 @@ fun Dropdown(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Preview
|
@Preview
|
||||||
@Composable
|
@Composable
|
||||||
fun LogoutConfirmationDialog(onDismissRequest: () -> Unit = {}, onConfirmation: () -> Unit = {}) {
|
fun LogoutConfirmationDialog(onDismissRequest: () -> Unit = {}, onConfirmation: () -> Unit = {}) {
|
||||||
|
|
Loading…
Reference in New Issue