mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Update dependency io.nlopez.compose.rules:detekt to v0.4.8 (#3254)
* Update dependency io.nlopez.compose.rules:detekt to v0.4.8 * Fix new lint issues --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
+4
-3
@@ -16,6 +16,7 @@
|
||||
|
||||
package io.element.android.libraries.troubleshoot.impl
|
||||
|
||||
import androidx.compose.foundation.layout.ColumnScope
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.foundation.layout.size
|
||||
import androidx.compose.foundation.progressSemantics
|
||||
@@ -68,7 +69,7 @@ fun TroubleshootNotificationsView(
|
||||
}
|
||||
|
||||
@Composable
|
||||
private fun TroubleshootTestView(
|
||||
private fun ColumnScope.TroubleshootTestView(
|
||||
testState: NotificationTroubleshootTestState,
|
||||
onQuickFixClick: () -> Unit,
|
||||
) {
|
||||
@@ -127,7 +128,7 @@ private fun TroubleshootTestView(
|
||||
}
|
||||
|
||||
@Composable
|
||||
private fun TroubleshootNotificationsContent(state: TroubleshootNotificationsState) {
|
||||
private fun ColumnScope.TroubleshootNotificationsContent(state: TroubleshootNotificationsState) {
|
||||
when (state.testSuiteState.mainState) {
|
||||
AsyncAction.Loading,
|
||||
AsyncAction.Confirming,
|
||||
@@ -197,7 +198,7 @@ private fun RunTestButton(state: TroubleshootNotificationsState) {
|
||||
}
|
||||
|
||||
@Composable
|
||||
private fun TestSuiteView(
|
||||
private fun ColumnScope.TestSuiteView(
|
||||
testSuiteState: TroubleshootTestSuiteState,
|
||||
onQuickFixClick: (Int) -> Unit,
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user