We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 281d62f commit 0995434Copy full SHA for 0995434
1 file changed
app/src/main/java/to/bitkit/ui/settings/advanced/RgsServerScreen.kt
@@ -74,7 +74,9 @@ fun RgsServerScreen(
74
} else {
75
toaster.error(
76
title = ToastText(R.string.wallet__ldk_start_error_title),
77
- body = ToastText(result.exceptionOrNull()?.message ?: "Unknown error"),
+ body = result.exceptionOrNull()?.message
78
+ ?.let { ToastText(it) }
79
+ ?: ToastText(R.string.common__error_body),
80
testTag = "RgsErrorToast",
81
)
82
}
@@ -133,7 +135,9 @@ private fun Content(
133
135
value = uiState.rgsUrl,
134
136
onValueChange = onChangeUrl,
137
keyboardOptions = KeyboardOptions(imeAction = ImeAction.Done),
- modifier = Modifier.fillMaxWidth().testTag("RGSUrl")
138
+ modifier = Modifier
139
+ .fillMaxWidth()
140
+ .testTag("RGSUrl")
141
142
143
FillHeight()
0 commit comments