go back to home

This commit is contained in:
2026-02-13 14:36:02 +01:00
parent acfc7a8394
commit b31674649f
8 changed files with 24 additions and 4 deletions
+16
View File
@@ -107,6 +107,14 @@ import profile from './UI/profile.jpg'
import musiclandClub from './UI/musiclandClub.png'
import frenchFlag from './icons/frenchFlag.png'
import englishFlag from './icons/englishFlag.png'
import credits50 from './packs/credits50.png'
import credits110 from './packs/credits110.png'
import credits150 from './packs/credits150.png'
import credits180 from './packs/credits180.png'
import credits450 from './packs/credits450.png'
import credits750 from './packs/credits750.png'
export const tabs = {
home,
tasks,
@@ -194,6 +202,14 @@ export const icons = {
clubIcon: require('./icons/clubIcon.png'),
}
export const packs= {
credits50,
credits110,
credits150,
credits180,
credits450,
credits750
}
export const background = {
writingBG,
writingBgWeb: require('./UI/writingBgWeb.png'),
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

@@ -22,6 +22,8 @@ import GradientButton from '../../../components/GradientButton'
import AppCheckbox from '../../../components/AppCheckbox'
import { subBadges, icons } from '../../../assets'
import { isWeb } from '../../../hooks/useLayoutType'
import { navigate } from '../../../navigation/NavigationService'
import { Routes } from '../../../navigation'
// --- HELPER FUNCTIONS & CONSTANTS (Copied from Subscriptions.js) ---
@@ -379,6 +381,11 @@ const ShareAndCreditsModal = ({
}
}
const handleGoHome = useCallback(() => {
setIsVisible(false)
navigate(Routes.Home)
}, [setIsVisible])
const currentPlans = normalizedPlansByPeriod[selectedPeriodKey] || []
return (
@@ -533,10 +540,7 @@ const ShareAndCreditsModal = ({
</View>
<GradientButton
title="Diffuser"
onPress={() => {
// No-op for now
console.log('Diffuser pressed', { hasAcceptedPublication })
}}
onPress={handleGoHome}
disabled={!hasAcceptedPublication}
containerStyle={styles.broadcastButton}
/>