Code quality
This commit is contained in:
parent
62dd70d4e1
commit
d8b41e79bd
1 changed files with 3 additions and 2 deletions
|
|
@ -185,10 +185,11 @@ private fun RunTestButton(state: TroubleshootNotificationsState) {
|
||||||
headlineContent = {
|
headlineContent = {
|
||||||
Button(
|
Button(
|
||||||
text = stringResource(
|
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
|
R.string.troubleshoot_notifications_screen_action_again
|
||||||
else
|
} else {
|
||||||
R.string.troubleshoot_notifications_screen_action
|
R.string.troubleshoot_notifications_screen_action
|
||||||
|
}
|
||||||
),
|
),
|
||||||
onClick = {
|
onClick = {
|
||||||
state.eventSink(TroubleshootNotificationsEvents.StartTests)
|
state.eventSink(TroubleshootNotificationsEvents.StartTests)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue