From 68de1bdaaab8cd01ef80801411b03131538ef477 Mon Sep 17 00:00:00 2001 From: Roman Makeev Date: Tue, 17 Dec 2024 17:30:13 +0300 Subject: [PATCH] fix detekt --- .../flipperdevices/keyemulate/viewmodel/InfraredViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/keyemulate/impl/src/main/java/com/flipperdevices/keyemulate/viewmodel/InfraredViewModel.kt b/components/keyemulate/impl/src/main/java/com/flipperdevices/keyemulate/viewmodel/InfraredViewModel.kt index 39638a9fa..5bc541db6 100644 --- a/components/keyemulate/impl/src/main/java/com/flipperdevices/keyemulate/viewmodel/InfraredViewModel.kt +++ b/components/keyemulate/impl/src/main/java/com/flipperdevices/keyemulate/viewmodel/InfraredViewModel.kt @@ -117,7 +117,7 @@ class InfraredViewModel @Inject constructor( emulateHelper.stopEmulate(viewModelScope, serviceApi.requestApi) } - @Suppress("CyclomaticComplexMethod") + @Suppress("CyclomaticComplexMethod", "LongMethod") private suspend fun calculateTimeoutAndStartEmulate( scope: CoroutineScope, serviceApi: FlipperServiceApi,