From 19ab14305f393b7c319d95b0b7146cf09be0397e Mon Sep 17 00:00:00 2001 From: sim Date: Tue, 3 Dec 2024 09:01:33 +0000 Subject: [PATCH] Lint --- .../org/unifiedpush/distributor/nextpush/LastEventId.kt | 2 +- .../distributor/nextpush/activities/ui/AppBarUi.kt | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) 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 = {}) {