mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Code quality
This commit is contained in:
committed by
Benoit Marty
parent
7b16b10a64
commit
9c89a3b0c7
+3
-2
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user