mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
Konsist: add test to ensure filename match top level Composable View, and fix existing issue
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ fun CrashDetectionView(
|
||||
}
|
||||
|
||||
@Composable
|
||||
fun CrashDetectionContent(
|
||||
private fun CrashDetectionContent(
|
||||
onNoClicked: () -> Unit = { },
|
||||
onYesClicked: () -> Unit = { },
|
||||
onDismiss: () -> Unit = { },
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@ private fun TakeScreenshot(
|
||||
}
|
||||
|
||||
@Composable
|
||||
fun RageshakeDialogContent(
|
||||
private fun RageshakeDialogContent(
|
||||
onNoClicked: () -> Unit = { },
|
||||
onDisableClicked: () -> Unit = { },
|
||||
onYesClicked: () -> Unit = { },
|
||||
|
||||
+2
-2
@@ -43,7 +43,7 @@ import io.element.android.libraries.designsystem.components.dialogs.ErrorDialog
|
||||
import io.element.android.libraries.designsystem.components.form.textFieldState
|
||||
import io.element.android.libraries.designsystem.components.preferences.PreferenceRow
|
||||
import io.element.android.libraries.designsystem.components.preferences.PreferenceSwitch
|
||||
import io.element.android.libraries.designsystem.components.preferences.PreferenceView
|
||||
import io.element.android.libraries.designsystem.components.preferences.PreferencePage
|
||||
import io.element.android.libraries.designsystem.preview.PreviewsDayNight
|
||||
import io.element.android.libraries.designsystem.preview.ElementPreview
|
||||
import io.element.android.libraries.designsystem.preview.debugPlaceholderBackground
|
||||
@@ -72,7 +72,7 @@ fun BugReportView(
|
||||
}
|
||||
|
||||
Box(modifier = modifier) {
|
||||
PreferenceView(
|
||||
PreferencePage(
|
||||
title = stringResource(id = CommonStrings.common_report_a_bug),
|
||||
onBackPressed = onBackPressed
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user