File tree Expand file tree Collapse file tree
api/src/main/java/com/getcode/network/repository
app/src/main/java/com/getcode/view/main/account Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ data class BetaOptions(
2929 debugScanTimesEnabled = false ,
3030 displayErrors = false ,
3131 giveRequestsEnabled = false ,
32- buyModuleEnabled = false ,
32+ buyModuleEnabled = true ,
3333 establishCodeRelationship = false ,
3434 chatUnsubEnabled = false ,
3535 tipsEnabled = false ,
Original file line number Diff line number Diff line change 11package com.getcode.view.main.account
22
3- import androidx.compose.foundation.ExperimentalFoundationApi
43import androidx.compose.foundation.layout.Column
54import androidx.compose.foundation.layout.Row
65import androidx.compose.foundation.layout.padding
@@ -21,7 +20,6 @@ import com.getcode.theme.CodeTheme
2120import com.getcode.ui.utils.rememberedClickable
2221import com.getcode.ui.components.CodeSwitch
2322
24- @OptIn(ExperimentalFoundationApi ::class )
2523@Composable
2624fun BetaFlagsScreen (
2725 viewModel : BetaFlagsViewModel ,
@@ -153,7 +151,7 @@ fun BetaFlagsScreen(
153151
154152private fun BetaFlagsViewModel.State.canMutate (flag : PrefsBool ): Boolean {
155153 return when (flag) {
156- // PrefsBool.BUY_KIN_ENABLED -> false
154+ PrefsBool .BUY_MODULE_ENABLED -> false
157155 PrefsBool .TIPS_CHAT_ENABLED -> chatMessageV2Enabled && tipsEnabled
158156 else -> true
159157 }
You can’t perform that action at this time.
0 commit comments