Commit 068ab2f5 authored by clairehurst's avatar clairehurst 🌱
Browse files

fixup! [android] Disable features and functionality

Bug 44769: Remove crash screen
parent ab12da36
Loading
Loading
Loading
Loading
Loading
+2 −14
Original line number Diff line number Diff line
@@ -53,15 +53,13 @@ internal fun StartupCrashScreen(store: StartupCrashStore) {
            verticalArrangement = Arrangement.Center,
            horizontalAlignment = Alignment.CenterHorizontally,
        ) {
            ScreenImg()

            Spacer(modifier = Modifier.height(16.dp))

            ScreenText()

            Spacer(modifier = Modifier.height(24.dp))

            when (state.uiState) {
            // tb#44769 Force state.uiState to be UiState.Finished because we don't want to report crashes
            when (UiState.Finished) {
                UiState.Idle -> {
                    ReportButtons(store)
                }
@@ -153,16 +151,6 @@ private fun ScreenText() {
            ),
            style = FirefoxTheme.typography.headline5,
        )

        Text(
            text = stringResource(
                R.string.startup_crash_body,
                stringResource(R.string.firefox),
            ),
            color = MaterialTheme.colorScheme.onSurfaceVariant,
            style = FirefoxTheme.typography.body2,
            textAlign = TextAlign.Center,
        )
    }
}