Initial commit

This commit is contained in:
Samandar Turgunboyev
2025-08-26 16:26:59 +05:00
commit fd95422447
318 changed files with 38301 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import AsyncStorage from '@react-native-async-storage/async-storage';
import i18n from 'i18n/i18n';
export const changeLanguage = async (lang: string) => {
try {
await AsyncStorage.setItem('language', lang);
await i18n.changeLanguage(lang);
} catch (error) {}
};