feat: remove subscription modale
This commit is contained in:
@@ -651,24 +651,13 @@ const PlaybackDownload = ({ route }) => {
|
||||
<BorderGradientButton
|
||||
title={continueLabel}
|
||||
onPress={() => {
|
||||
if (hasActiveSubscription) {
|
||||
handlePublish()
|
||||
} else {
|
||||
setShowConfirmModal(true)
|
||||
}
|
||||
handlePublish()
|
||||
}}
|
||||
disabled={isPublishing || !hasAcceptedPublication}
|
||||
containerStyle={styles.continueButton}
|
||||
/>
|
||||
</ScrollView>
|
||||
</Page>
|
||||
<SubscriptionConfirmModal
|
||||
continueLabel={'Continuer vers la publication du playback'}
|
||||
isVisible={showConfirmModal}
|
||||
setIsVisible={setShowConfirmModal}
|
||||
onJoinClub={() => navigate(Routes.Payments)}
|
||||
onContinue={handlePublish}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user