diff --git a/features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/notifications/troubleshoot/TroubleshootNotificationsView.kt b/features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/notifications/troubleshoot/TroubleshootNotificationsView.kt index 451b4f778e..a908f59350 100644 --- a/features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/notifications/troubleshoot/TroubleshootNotificationsView.kt +++ b/features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/notifications/troubleshoot/TroubleshootNotificationsView.kt @@ -185,10 +185,11 @@ private fun RunTestButton(state: TroubleshootNotificationsState) { headlineContent = { Button( text = stringResource( - id = if (state.testSuiteState.mainState is AsyncAction.Failure) + id = if (state.testSuiteState.mainState is AsyncAction.Failure) { R.string.troubleshoot_notifications_screen_action_again - else + } else { R.string.troubleshoot_notifications_screen_action + } ), onClick = { state.eventSink(TroubleshootNotificationsEvents.StartTests)