-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add interfaces for Trend and Post; implement hooks for fetching trend…
…s and posts; create settings screens for Help, About, Privacy, Battery, Language, Notification, and Display
- Loading branch information
Showing
16 changed files
with
492 additions
and
225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React from "react"; | ||
import { View, Text, StyleSheet, SafeAreaView } from "react-native"; | ||
import { useTranslation } from "react-i18next"; | ||
|
||
export default function AboutSettings() { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<SafeAreaView style={styles.container}> | ||
<Text style={styles.title}>{t("About This App")}</Text> | ||
{/* Add about components here */} | ||
</SafeAreaView> | ||
); | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
padding: 16, | ||
backgroundColor: '#fff', | ||
}, | ||
title: { | ||
fontSize: 24, | ||
fontWeight: 'bold', | ||
marginBottom: 16, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React from "react"; | ||
import { View, Text, StyleSheet, SafeAreaView } from "react-native"; | ||
import { useTranslation } from "react-i18next"; | ||
|
||
export default function AccountSettings() { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<SafeAreaView style={styles.container}> | ||
<Text style={styles.title}>{t("Account Settings")}</Text> | ||
{/* Add account settings components here */} | ||
</SafeAreaView> | ||
); | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
padding: 16, | ||
backgroundColor: '#fff', | ||
}, | ||
title: { | ||
fontSize: 24, | ||
fontWeight: 'bold', | ||
marginBottom: 16, | ||
}, | ||
}); |
Oops, something went wrong.