11package xyz.flipchat.app.features.beta
22
33import android.os.Parcelable
4+ import androidx.compose.foundation.layout.Box
45import androidx.compose.foundation.layout.Column
56import androidx.compose.foundation.layout.fillMaxSize
67import androidx.compose.foundation.lazy.LazyColumn
78import androidx.compose.foundation.lazy.items
9+ import androidx.compose.material.Text
810import androidx.compose.runtime.Composable
911import androidx.compose.runtime.collectAsState
1012import androidx.compose.runtime.getValue
@@ -15,6 +17,7 @@ import cafe.adriel.voyager.core.screen.Screen
1517import cafe.adriel.voyager.core.screen.ScreenKey
1618import cafe.adriel.voyager.core.screen.uniqueScreenKey
1719import com.getcode.navigation.core.LocalCodeNavigator
20+ import com.getcode.theme.CodeTheme
1821import com.getcode.ui.components.AppBarWithTitle
1922import com.getcode.ui.components.SettingsSwitchRow
2023import kotlinx.parcelize.IgnoredOnParcel
@@ -64,6 +67,33 @@ private fun BetaFlagsScreenContent() {
6467 betaFlagsController.set(feature.flag, ! feature.enabled)
6568 }
6669 }
70+ if (betaFlags.isEmpty()) {
71+ item {
72+ Box (modifier = Modifier .fillParentMaxSize()) {
73+ Column (
74+ modifier = Modifier .align(Alignment .Center ),
75+ horizontalAlignment = Alignment .CenterHorizontally
76+ ) {
77+ Text (
78+ text = " \uD83D\uDE2D " ,
79+ style = CodeTheme .typography.displayMedium
80+ )
81+ Text (
82+ text = " Nothing Cooking in the Lab Right Now" ,
83+ style = CodeTheme .typography.textLarge,
84+ color = CodeTheme .colors.textMain
85+ )
86+
87+ Text (
88+ text = " Check back in the next app update." ,
89+ style = CodeTheme .typography.textSmall,
90+ color = CodeTheme .colors.textSecondary
91+ )
92+
93+ }
94+ }
95+ }
96+ }
6797 }
6898}
6999
0 commit comments