Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/flipcash/core/src/main/res/values/strings.xml
Original file line numberDiff line numberDiff line change
Expand Up@@ -142,8 +142,8 @@

<string name="subtitle_appVersionInfoFooter">Version %1$s • Build %2$s%3$s</string>

<string name="title_labsAreEmpty">Nothing Cooking in the Lab Right Now</string>
<string name="subtitle_labsAreEmpty">Check back in the next app update.</string>
<string name="title_labsAreEmpty">No Beta Features</string>
<string name="subtitle_labsAreEmpty">There are no beta features available right now.</string>

<string name="title_betaOverride">Beta Overrides</string>
<string name="subtitle_betaOverride">All flags are visible. Toggle off to reset flags to defaults.</string>
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -163,10 +163,6 @@ internal fun LabsScreenContent(viewModel: LabsScreenViewModel, onboarding: Boole
modifier = Modifier.align(Alignment.Center),
horizontalAlignment = Alignment.CenterHorizontally
) {
Text(
text = "\uD83D\uDE2D",
style = CodeTheme.typography.displayMedium
)
Text(
text = stringResource(R.string.title_labsAreEmpty),
style = CodeTheme.typography.textLarge,
Expand All@@ -175,7 +171,7 @@ internal fun LabsScreenContent(viewModel: LabsScreenViewModel, onboarding: Boole

Text(
text = stringResource(R.string.subtitle_labsAreEmpty),
style = CodeTheme.typography.textSmall,
style = CodeTheme.typography.textMedium,
color = CodeTheme.colors.textSecondary,
)
}
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,7 +132,12 @@ sealed interface FeatureFlag<T: Any> {
data object NewUi: FeatureFlag<Boolean> {
override val key: String = "new_ui_enabled"
override val default: Boolean = true
override val launched: Boolean = false
// Launched: the new UI is now the only shell. `launched` makes the controller short-circuit
// to `default` — so a user who had toggled this OFF during the beta is moved onto it (their
// stored `false` is ignored and cleared on next launch) — and drops it from
// `availableEntries`, removing the toggle from Labs. The v1 code it gated is torn out
// separately.
override val launched: Boolean = true
override val visible: Boolean = true
override val persistLogOut: Boolean = true
}
Expand Down
Loading