File tree Expand file tree Collapse file tree
app/src/main/java/io/bloco/snowflake/ui/home Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -222,15 +222,17 @@ private fun Stats(
222222 running.clientsConnected > 0 -> stringResource(R .string.snowflake_helping)
223223 else -> null
224224 },
225- text = if (running != null && running.clientsConnected > 0 ) {
226- pluralStringResource(
227- R .plurals.persons,
228- running.clientsConnected,
229- running.clientsConnected,
230- )
231- } else {
232- stringResource(R .string.snowflake_looking_to_help)
233- },
225+ text = if (running != null ) {
226+ if (running.clientsConnected > 0 ) {
227+ pluralStringResource(
228+ R .plurals.persons,
229+ running.clientsConnected,
230+ running.clientsConnected,
231+ )
232+ } else {
233+ stringResource(R .string.snowflake_looking_to_help)
234+ }
235+ } else null ,
234236 )
235237 StatsCell (
236238 title = stringResource(R .string.snowflake_stats_connections),
You can’t perform that action at this time.
0 commit comments