11package com.flipcash.app.transactions.internal
22
3+ import androidx.compose.foundation.layout.Arrangement
34import androidx.compose.foundation.layout.Box
5+ import androidx.compose.foundation.layout.Column
46import androidx.compose.foundation.layout.Spacer
57import androidx.compose.foundation.layout.WindowInsets
68import androidx.compose.foundation.layout.fillMaxSize
@@ -10,17 +12,20 @@ import androidx.compose.foundation.layout.windowInsetsPadding
1012import androidx.compose.foundation.lazy.LazyColumn
1113import androidx.compose.foundation.lazy.rememberLazyListState
1214import androidx.compose.material.Divider
15+ import androidx.compose.material.Text
1316import androidx.compose.runtime.Composable
1417import androidx.compose.runtime.getValue
1518import androidx.compose.ui.Alignment
1619import androidx.compose.ui.Modifier
20+ import androidx.compose.ui.res.stringResource
1721import androidx.lifecycle.compose.collectAsStateWithLifecycle
1822import androidx.paging.LoadState
1923import androidx.paging.compose.LazyPagingItems
2024import androidx.paging.compose.collectAsLazyPagingItems
2125import androidx.paging.compose.itemKey
2226import com.flipcash.app.core.feed.ActivityFeedMessage
2327import com.flipcash.app.transactions.internal.components.FeedItem
28+ import com.flipcash.features.transactions.R
2429import com.getcode.theme.CodeTheme
2530import com.getcode.ui.core.verticalScrollStateGradient
2631
@@ -69,7 +74,22 @@ private fun FeedList(
6974 modifier = Modifier .fillParentMaxSize().padding(bottom = CodeTheme .dimens.inset),
7075 contentAlignment = Alignment .Center
7176 ) {
72-
77+ Column (
78+ modifier = Modifier .fillParentMaxWidth(),
79+ verticalArrangement = Arrangement .spacedBy(CodeTheme .dimens.grid.x4),
80+ horizontalAlignment = Alignment .CenterHorizontally ,
81+ ) {
82+ Text (
83+ text = stringResource(R .string.title_noTransactionHistory),
84+ style = CodeTheme .typography.textLarge,
85+ color = CodeTheme .colors.textMain,
86+ )
87+ Text (
88+ text = stringResource(R .string.description_noTransactionHistory),
89+ style = CodeTheme .typography.textSmall,
90+ color = CodeTheme .colors.textSecondary,
91+ )
92+ }
7393 }
7494 }
7595 } else {
0 commit comments