Remove IS_INTERNAL check for beta feedback button (#11162)
This commit is contained in:
@@ -24,7 +24,7 @@ import * as Toast from '#/components/Toast'
|
|||||||
import {Text} from '#/components/Typography'
|
import {Text} from '#/components/Typography'
|
||||||
import {features} from '#/analytics'
|
import {features} from '#/analytics'
|
||||||
import {getTargetedFeatures} from '#/analytics/features'
|
import {getTargetedFeatures} from '#/analytics/features'
|
||||||
import {IS_INTERNAL, IS_WEB} from '#/env'
|
import {IS_WEB} from '#/env'
|
||||||
import {account} from '#/storage'
|
import {account} from '#/storage'
|
||||||
|
|
||||||
type Props = NativeStackScreenProps<
|
type Props = NativeStackScreenProps<
|
||||||
@@ -97,8 +97,7 @@ export function BetaFeaturesSettingsScreen({}: Props) {
|
|||||||
feedbackControl.open()
|
feedbackControl.open()
|
||||||
}
|
}
|
||||||
|
|
||||||
const canSubmitFeedback =
|
const canSubmitFeedback = !isPending && isBetaUser && betaFeatures.length > 0
|
||||||
!isPending && isBetaUser && (betaFeatures.length > 0 || IS_INTERNAL)
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout.Screen>
|
<Layout.Screen>
|
||||||
|
|||||||
Reference in New Issue
Block a user