Skip to content

Commit 193dddc

Browse files
committed
chore(fc): add title to balance tab
Signed-off-by: Brandon McAnsh <[email protected]>
1 parent 6ab79f4 commit 193dddc

File tree

1 file changed

+8
-1
lines changed
  • flipchatApp/src/main/kotlin/xyz/flipchat/app/features/home/tabs

1 file changed

+8
-1
lines changed

flipchatApp/src/main/kotlin/xyz/flipchat/app/features/home/tabs/CashTab.kt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package xyz.flipchat.app.features.home.tabs
22

3+
import androidx.compose.foundation.layout.Column
34
import androidx.compose.runtime.Composable
45
import androidx.compose.ui.res.painterResource
56
import androidx.compose.ui.res.stringResource
@@ -8,6 +9,7 @@ import cafe.adriel.voyager.navigator.Navigator
89
import cafe.adriel.voyager.navigator.tab.TabOptions
910
import com.getcode.navigation.NavScreenProvider
1011
import com.getcode.navigation.screens.ChildNavTab
12+
import com.getcode.ui.components.AppBarWithTitle
1113
import xyz.flipchat.app.R
1214

1315
internal object CashTab : ChildNavTab {
@@ -22,6 +24,11 @@ internal object CashTab : ChildNavTab {
2224

2325
@Composable
2426
override fun Content() {
25-
Navigator(ScreenRegistry.get(NavScreenProvider.Balance))
27+
Column {
28+
AppBarWithTitle(
29+
title = options.title,
30+
)
31+
Navigator(ScreenRegistry.get(NavScreenProvider.Balance))
32+
}
2633
}
2734
}

0 commit comments

Comments
 (0)