spotlessApply

This commit is contained in:
davotoula
2026-03-17 07:27:56 +01:00
parent 866dfca710
commit f10387025d
2 changed files with 5 additions and 3 deletions
@@ -97,7 +97,10 @@ fun WalletTransactionsScreen(
val shouldLoadMore by remember {
derivedStateOf {
val lastVisibleIndex = listState.layoutInfo.visibleItemsInfo.lastOrNull()?.index ?: 0
val lastVisibleIndex =
listState.layoutInfo.visibleItemsInfo
.lastOrNull()
?.index ?: 0
val totalItems = listState.layoutInfo.totalItemsCount
lastVisibleIndex >= totalItems - 5 && !isLoadingMore && hasMore && transactions.isNotEmpty()
}
@@ -386,7 +389,7 @@ private fun TransactionUserName(
)
} else {
Text(
text = fallbackName ?: pubkeyHex.take(8) + "...",
text = fallbackName ?: (pubkeyHex.take(8) + "..."),
style = MaterialTheme.typography.bodyMedium,
fontWeight = FontWeight.Medium,
maxLines = 1,
@@ -40,7 +40,6 @@ import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow
import kotlinx.coroutines.flow.combine
import kotlinx.coroutines.flow.stateIn
import kotlinx.coroutines.launch
sealed class SendState {