From ecc2326863a41151cf86e1f981f3c9f5609952b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20G=C3=B6ransson?= Date: Mon, 11 Sep 2023 10:18:14 +0200 Subject: [PATCH] Fix lint --- .../mullvad/mullvadvpn/compose/dialog/ChangelogDialog.kt | 3 +-- .../net/mullvad/mullvadvpn/compose/dialog/MtuDialog.kt | 7 +------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/dialog/ChangelogDialog.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/dialog/ChangelogDialog.kt index 860845e2f17b..df31400ca28c 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/dialog/ChangelogDialog.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/dialog/ChangelogDialog.kt @@ -42,8 +42,7 @@ fun ChangelogDialog(changesList: List, version: String, onDismiss: () -> text = { Column( modifier = Modifier.fillMaxWidth(), - verticalArrangement = - Arrangement.spacedBy(Dimens.smallPadding) + verticalArrangement = Arrangement.spacedBy(Dimens.smallPadding) ) { Text( text = stringResource(R.string.changes_dialog_subtitle), diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/dialog/MtuDialog.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/dialog/MtuDialog.kt index 735757fe82da..9af996c6849c 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/dialog/MtuDialog.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/dialog/MtuDialog.kt @@ -37,12 +37,7 @@ import net.mullvad.mullvadvpn.util.isValidMtu @Preview @Composable private fun PreviewMtuDialog() { - MtuDialog( - mtuInitial = 1234, - onSave = {}, - onRestoreDefaultValue = {}, - onDismiss = {} - ) + MtuDialog(mtuInitial = 1234, onSave = {}, onRestoreDefaultValue = {}, onDismiss = {}) } @Composable