diff --git a/app/src/main/java/org/unifiedpush/distributor/nextpush/LastEventId.kt b/app/src/main/java/org/unifiedpush/distributor/nextpush/LastEventId.kt index ab227e6..d14d679 100644 --- a/app/src/main/java/org/unifiedpush/distributor/nextpush/LastEventId.kt +++ b/app/src/main/java/org/unifiedpush/distributor/nextpush/LastEventId.kt @@ -25,4 +25,4 @@ class LastEventId(private val store: AppStore) { } } } -} \ No newline at end of file +} diff --git a/app/src/main/java/org/unifiedpush/distributor/nextpush/activities/ui/AppBarUi.kt b/app/src/main/java/org/unifiedpush/distributor/nextpush/activities/ui/AppBarUi.kt index c975b16..0bf7e5a 100644 --- a/app/src/main/java/org/unifiedpush/distributor/nextpush/activities/ui/AppBarUi.kt +++ b/app/src/main/java/org/unifiedpush/distributor/nextpush/activities/ui/AppBarUi.kt @@ -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 = {}) {