@@ -23,6 +23,7 @@ data class BetaOptions(
2323 val tipCardOnHomeScreen : Boolean ,
2424 val cameraGesturesEnabled : Boolean ,
2525 val canFlipTipCard : Boolean ,
26+ val galleryEnabled : Boolean ,
2627) {
2728 companion object {
2829 // Default states for various beta flags in app.
@@ -43,7 +44,8 @@ data class BetaOptions(
4344 shareTweetToTip = true ,
4445 tipCardOnHomeScreen = true ,
4546 cameraGesturesEnabled = true ,
46- canFlipTipCard = false
47+ canFlipTipCard = false ,
48+ galleryEnabled = false
4749 )
4850 }
4951}
@@ -82,7 +84,8 @@ class BetaFlagsRepository @Inject constructor(
8284 observeBetaFlag(PrefsBool .SHARE_TWEET_TO_TIP , default = defaults.shareTweetToTip),
8385 observeBetaFlag(PrefsBool .TIP_CARD_ON_HOMESCREEN , defaults.tipCardOnHomeScreen),
8486 observeBetaFlag(PrefsBool .CAMERA_GESTURES_ENABLED , defaults.cameraGesturesEnabled),
85- observeBetaFlag(PrefsBool .TIP_CARD_FLIPPABLE , defaults.canFlipTipCard)
87+ observeBetaFlag(PrefsBool .TIP_CARD_FLIPPABLE , defaults.canFlipTipCard),
88+ observeBetaFlag(PrefsBool .GALLERY_ENABLED , defaults.galleryEnabled),
8689 ) {
8790 BetaOptions (
8891 showNetworkDropOff = it[0 ],
@@ -102,6 +105,8 @@ class BetaFlagsRepository @Inject constructor(
102105 tipCardOnHomeScreen = it[14 ],
103106 cameraGesturesEnabled = it[15 ],
104107 canFlipTipCard = it[16 ],
108+ galleryEnabled = it[17 ],
109+
105110 )
106111 }
107112 }
@@ -125,19 +130,33 @@ class BetaFlagsRepository @Inject constructor(
125130 PrefsBool .BALANCE_CURRENCY_SELECTION_ENABLED -> balanceCurrencySelectionEnabled
126131 PrefsBool .BUCKET_DEBUGGER_ENABLED -> canViewBuckets
127132 PrefsBool .BUY_MODULE_ENABLED -> buyModuleEnabled
133+ PrefsBool .CAMERA_GESTURES_ENABLED -> cameraGesturesEnabled
128134 PrefsBool .CHAT_UNSUB_ENABLED -> chatUnsubEnabled
129135 PrefsBool .CONVERSATIONS_ENABLED -> conversationsEnabled
130136 PrefsBool .CONVERSATION_CASH_ENABLED -> conversationCashEnabled
131137 PrefsBool .DISPLAY_ERRORS -> displayErrors
138+ PrefsBool .GALLERY_ENABLED -> galleryEnabled
132139 PrefsBool .GIVE_REQUESTS_ENABLED -> giveRequestsEnabled
133140 PrefsBool .KADO_WEBVIEW_ENABLED -> kadoWebViewEnabled
134141 PrefsBool .LOG_SCAN_TIMES -> debugScanTimesEnabled
135142 PrefsBool .SHARE_TWEET_TO_TIP -> shareTweetToTip
136143 PrefsBool .SHOW_CONNECTIVITY_STATUS -> showNetworkDropOff
137144 PrefsBool .TIPS_ENABLED -> tipsEnabled
145+ PrefsBool .TIP_CARD_FLIPPABLE -> canFlipTipCard
138146 PrefsBool .TIP_CARD_ON_HOMESCREEN -> tipCardOnHomeScreen
139147 PrefsBool .VIBRATE_ON_SCAN -> tickOnScan
140- else -> false
148+ PrefsBool .BUY_MODULE_AVAILABLE -> false
149+ PrefsBool .CAMERA_START_BY_DEFAULT -> false
150+ PrefsBool .DISMISSED_TIP_CARD_BANNER -> false
151+ PrefsBool .ESTABLISH_CODE_RELATIONSHIP -> false
152+ PrefsBool .HAS_REMOVED_LOCAL_CURRENCY -> false
153+ PrefsBool .IS_DEBUG_ACTIVE -> false
154+ PrefsBool .IS_DEBUG_ALLOWED -> false
155+ PrefsBool .IS_ELIGIBLE_GET_FIRST_KIN_AIRDROP -> false
156+ PrefsBool .IS_ELIGIBLE_GIVE_FIRST_KIN_AIRDROP -> false
157+ PrefsBool .REQUIRE_BIOMETRICS -> false
158+ PrefsBool .SEEN_TIP_CARD -> false
159+ PrefsBool .STARTED_TIP_CONNECT -> false
141160 }
142161 }
143162 }
0 commit comments