This commit is contained in:
imeepos 2025-12-26 16:02:21 +08:00
parent 92f57595f0
commit db5e8833c2
2 changed files with 4 additions and 4 deletions

View File

@ -176,7 +176,7 @@ export default function GenerateVideoScreen() {
]) ])
if (user?.id) { if (user?.id) {
loadBalance(user.id) loadBalance()
} }
} }

View File

@ -49,7 +49,7 @@ export default function GenerationRecordScreen() {
useEffect(() => { useEffect(() => {
if (user?.id) { if (user?.id) {
loadBalance(user.id) loadBalance()
} }
}, [user?.id]) }, [user?.id])
@ -110,7 +110,7 @@ export default function GenerationRecordScreen() {
} else { } else {
Alert.alert('生成成功', '视频已生成完成') Alert.alert('生成成功', '视频已生成完成')
if (user?.id) { if (user?.id) {
loadBalance(user.id) loadBalance()
} }
if (newGeneration?.id) { if (newGeneration?.id) {
router.replace({ router.replace({
@ -315,7 +315,7 @@ const styles = StyleSheet.create({
alignItems: 'center', alignItems: 'center',
paddingHorizontal: 16, paddingHorizontal: 16,
marginBottom: 8, marginBottom: 8,
gap:4, gap: 4,
}, },
categoryIcon: { categoryIcon: {
width: 16, width: 16,