From 78cb968bb4e0cb16e687497377614f29886e9b08 Mon Sep 17 00:00:00 2001 From: Morten Andersen Date: Fri, 20 Dec 2024 10:13:40 +0100 Subject: [PATCH] chore: Fixed the github workflow pull request template (#40) * chore: Fixed the github workflow pull request template * ingore: Formatting --- .github/workflows/pull_request.yml | 1 - v16/src/jvmMain/kotlin/com/monta/ocpp/emulator/MainWindow.kt | 2 +- .../emulator/chargepoint/view/screens/ChargePointsScreen.kt | 4 +--- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 4a687c9..47da2d1 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -9,7 +9,6 @@ jobs: secrets: GHL_USERNAME: ${{ secrets.GHL_USERNAME }} GHL_PASSWORD: ${{ secrets.GHL_PASSWORD }} - SLACK_APP_TOKEN: ${{ secrets.SLACK_APP_TOKEN }} static-code-analysis: name: Static Code Analysis runs-on: ubuntu-latest diff --git a/v16/src/jvmMain/kotlin/com/monta/ocpp/emulator/MainWindow.kt b/v16/src/jvmMain/kotlin/com/monta/ocpp/emulator/MainWindow.kt index 11cc7a9..50bd817 100644 --- a/v16/src/jvmMain/kotlin/com/monta/ocpp/emulator/MainWindow.kt +++ b/v16/src/jvmMain/kotlin/com/monta/ocpp/emulator/MainWindow.kt @@ -46,7 +46,7 @@ fun ApplicationScope.MainWindow() { setupAppThemeMenu(appThemeViewModel) MaterialTheme( - colors = appThemeViewModel.getColors(), + colors = appThemeViewModel.getColors() ) { when (navigationViewModel.currentScreen) { is NavigationViewModel.Screen.ChargePoints -> { diff --git a/v16/src/jvmMain/kotlin/com/monta/ocpp/emulator/chargepoint/view/screens/ChargePointsScreen.kt b/v16/src/jvmMain/kotlin/com/monta/ocpp/emulator/chargepoint/view/screens/ChargePointsScreen.kt index e6d0e89..bcd0fad 100644 --- a/v16/src/jvmMain/kotlin/com/monta/ocpp/emulator/chargepoint/view/screens/ChargePointsScreen.kt +++ b/v16/src/jvmMain/kotlin/com/monta/ocpp/emulator/chargepoint/view/screens/ChargePointsScreen.kt @@ -46,7 +46,6 @@ import kotlinx.coroutines.flow.collectLatest @Composable fun ChargePointsScreen() { - var searchQuery by remember { mutableStateOf("") } @@ -173,7 +172,6 @@ private fun ChargePointDAO.matchesSearchQuery(query: String): Boolean { return name.contains(query, ignoreCase = true) || identity.contains(query, ignoreCase = true) } - @Composable private fun RowScope.AddChargePointButton() { val screenViewModel: NavigationViewModel by injectAnywhere() @@ -184,7 +182,7 @@ private fun RowScope.AddChargePointButton() { .height(56.dp) .align(Alignment.CenterVertically) .padding( - end = 8.dp, + end = 8.dp ), onClick = { screenViewModel.navigateTo(