Skip to content

Commit

Permalink
Suppress long compose function lint warnings
Browse files Browse the repository at this point in the history
These functions are better refactored separately
from the current work with reformatting the code.
  • Loading branch information
albin-mullvad committed Aug 28, 2024
1 parent b52c423 commit ae4d72b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ fun ConnectionButton(
)
}

@OptIn(ExperimentalMaterial3Api::class)
@Composable
@Suppress("LongMethod")
private fun ConnectionButton(
text: String,
mainClick: () -> Unit,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ data class ApiAccessMethodDetailsNavArgs(val accessMethodId: ApiAccessMethodId)
navArgs = ApiAccessMethodDetailsNavArgs::class,
)
@Composable
@Suppress("LongMethod")
fun ApiAccessMethodDetails(
navigator: DestinationsNavigator,
confirmDeleteListResultRecipient:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ data class EditApiAccessMethodNavArgs(val accessMethodId: ApiAccessMethodId?)
navArgs = EditApiAccessMethodNavArgs::class,
)
@Composable
@Suppress("LongMethod")
fun EditApiAccessMethod(
navigator: DestinationsNavigator,
backNavigator: ResultBackNavigator<Boolean>,
Expand Down

0 comments on commit ae4d72b

Please sign in to comment.