feat: add global chat UI with i18n and translation indicators

This commit is contained in:
Adolfo Reyna
2026-02-20 23:16:05 -05:00
parent 06e620dbf6
commit f92d0fec0b
5 changed files with 228 additions and 4 deletions

7
App.js
View File

@@ -29,6 +29,7 @@ import GlobalState from './contexts/GlobalState.js';
import NewGroup from './Views/NewGroup.js';
import Slideshow from './Views/Slideshow.js';
import SongPlayer from './Views/SongPlayer.js';
import GlobalChat from './Views/GlobalChat.js';
import { Platform } from 'react-native';
import { PostHogProvider } from 'posthog-react-native'
import * as Updates from 'expo-updates';
@@ -296,7 +297,7 @@ export default function App() {
}} /> : <Appbar.Action icon="menu" style={{ padding: 0, margin: 0 }} onPress={() => { props.navigation.navigate('Menu'); }} />}
<Appbar.Content title="EMI Fellowship" titleStyle={{}} />
<Appbar.Action icon="chat" onPress={() => {
alert("Chats are comming soon.");
props.navigation.navigate("GlobalChat");
}} onLongPress={() => {
props.navigation.navigate("SongPlayer");
}} />
@@ -373,6 +374,10 @@ export default function App() {
name="SongPlayer"
component={SongPlayer}
/>
<Stack.Screen
name="GlobalChat"
component={GlobalChat}
/>
<Stack.Screen name="SinglePost" component={SinglePost} />
<Stack.Screen name="Login" component={Login} options={{ headerShown: false }} />
<Tab.Screen name="Logout" component={Login} />