26.01.12
This commit is contained in:
@@ -4,7 +4,7 @@ import { useFocusEffect } from '@react-navigation/native';
|
||||
import * as DocumentPicker from 'expo-document-picker';
|
||||
import { useRouter } from 'expo-router';
|
||||
import * as Sharing from 'expo-sharing';
|
||||
import React, { memo, useCallback, useMemo, useState } from 'react';
|
||||
import { memo, useCallback, useMemo, useState } from 'react';
|
||||
import {
|
||||
Alert, Platform, SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, TextInput, TouchableOpacity, View
|
||||
} from 'react-native';
|
||||
@@ -27,7 +27,7 @@ const getFeriadosMap = (ano: number) => {
|
||||
[`${ano}-04-25`]: "Dia da Liberdade",
|
||||
[`${ano}-05-01`]: "Dia do Trabalhador",
|
||||
[`${ano}-06-10`]: "Dia de Portugal",
|
||||
[`${ano}-06-24`]: "São João (Vila do Conde)", // Feriado Municipal
|
||||
[`${ano}-06-24`]: "São João (Vila do Conde)",
|
||||
[`${ano}-08-15`]: "Assunção de Nª Senhora",
|
||||
[`${ano}-10-05`]: "Implantação da República",
|
||||
[`${ano}-11-01`]: "Todos os Santos",
|
||||
@@ -202,6 +202,7 @@ const AlunoHome = memo(() => {
|
||||
|
||||
<View style={[styles.cardCalendar, { backgroundColor: themeStyles.card }]}>
|
||||
<Calendar
|
||||
key={isDarkMode ? 'dark' : 'light'} // 🔹 Força re-render no tema
|
||||
theme={{ calendarBackground: themeStyles.card, dayTextColor: themeStyles.texto, monthTextColor: themeStyles.texto, todayTextColor: '#0d6efd', arrowColor: '#0d6efd' }}
|
||||
markedDates={diasMarcados}
|
||||
onDayPress={(day) => { setSelectedDate(day.dateString); setEditandoSumario(false); }}
|
||||
@@ -291,4 +292,4 @@ const styles = StyleSheet.create({
|
||||
input: { borderWidth: 1, borderRadius: 10, padding: 12, height: 100, textAlignVertical: 'top' }
|
||||
});
|
||||
|
||||
export default AlunoHome;
|
||||
export default AlunoHome;
|
||||
|
||||
799
package-lock.json
generated
799
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,17 +1,24 @@
|
||||
{
|
||||
"extends": "expo/tsconfig.base",
|
||||
"compilerOptions": {
|
||||
"target": "es6",
|
||||
"module": "Node16",
|
||||
"moduleResolution": "Node16",
|
||||
"customConditions": [
|
||||
"development"
|
||||
],
|
||||
"strict": true,
|
||||
"paths": {
|
||||
"@/*": [
|
||||
"./*"
|
||||
]
|
||||
}
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"skipLibCheck": true
|
||||
},
|
||||
"include": [
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
".expo/types/**/*.ts",
|
||||
"expo-env.d.ts"
|
||||
]
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"dist"
|
||||
],
|
||||
"extends": "expo/tsconfig.base"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user