Dan Ballard pushed to branch tor-browser-152.0a1-16.0-2 at The Tor Project / Applications / Tor Browser
Commits:
-
068ab2f5
by clairehurst at 2026-06-08T16:54:02-06:00
1 changed file:
Changes:
| ... | ... | @@ -53,15 +53,13 @@ internal fun StartupCrashScreen(store: StartupCrashStore) { |
| 53 | 53 | verticalArrangement = Arrangement.Center,
|
| 54 | 54 | horizontalAlignment = Alignment.CenterHorizontally,
|
| 55 | 55 | ) {
|
| 56 | - ScreenImg()
|
|
| 57 | - |
|
| 58 | - Spacer(modifier = Modifier.height(16.dp))
|
|
| 59 | 56 | |
| 60 | 57 | ScreenText()
|
| 61 | 58 | |
| 62 | 59 | Spacer(modifier = Modifier.height(24.dp))
|
| 63 | 60 | |
| 64 | - when (state.uiState) {
|
|
| 61 | + // tb#44769 Force state.uiState to be UiState.Finished because we don't want to report crashes
|
|
| 62 | + when (UiState.Finished) {
|
|
| 65 | 63 | UiState.Idle -> {
|
| 66 | 64 | ReportButtons(store)
|
| 67 | 65 | }
|
| ... | ... | @@ -153,16 +151,6 @@ private fun ScreenText() { |
| 153 | 151 | ),
|
| 154 | 152 | style = FirefoxTheme.typography.headline5,
|
| 155 | 153 | )
|
| 156 | - |
|
| 157 | - Text(
|
|
| 158 | - text = stringResource(
|
|
| 159 | - R.string.startup_crash_body,
|
|
| 160 | - stringResource(R.string.firefox),
|
|
| 161 | - ),
|
|
| 162 | - color = MaterialTheme.colorScheme.onSurfaceVariant,
|
|
| 163 | - style = FirefoxTheme.typography.body2,
|
|
| 164 | - textAlign = TextAlign.Center,
|
|
| 165 | - )
|
|
| 166 | 154 | }
|
| 167 | 155 | }
|
| 168 | 156 |