Skip to content

Commit

Permalink
Remove redundant text arg name
Browse files Browse the repository at this point in the history
  • Loading branch information
ovitrif committed Dec 3, 2023
1 parent af0ca16 commit 73583dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/tech/masivo/bitlab/ui/BlockDetailScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fun BlockDetailScreen(
) {
val uiState = viewModel.uiState.collectAsStateWithLifecycle()
if (uiState.value.transactions.isEmpty()) {
Text(text = "Loading...")
Text("Loading...")
} else {
BlockDetails(
blockId = blockId,
Expand Down Expand Up @@ -80,7 +80,7 @@ private fun TransactionsList(
)
}
} else {
Text(text = "Mined")
Text("Mined")
}
Text("Outbound Transfers:")
it.outbounds.forEach { ins ->
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/tech/masivo/bitlab/ui/HomeScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private fun BlocksList(
modifier: Modifier = Modifier,
) {
LazyColumn(modifier) {
item { Text(text = "Last ${blocks.size} OnChain Blocks") }
item { Text("Last ${blocks.size} OnChain Blocks") }
items(blocks, key = { it.id }) {
InfoCard(onClick = { onBlockClick(it.id) }) {
InfoRow(label = it.id.trimId())
Expand Down

0 comments on commit 73583dd

Please sign in to comment.