Skip to content

Commit 576d878

Browse files
committed
Update settings
1 parent 387af8b commit 576d878

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

app/(auth)/settings/index.jsx

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,8 @@ import { SafeAreaView } from 'react-native-safe-area-context'
88
import { searchQuery } from 'src/requests'
99
import { BUILD_VERSION, openBrowserAsync } from 'src/utils'
1010
import {
11-
Avatar,
1211
Button,
13-
Heading,
14-
Input,
1512
ScrollView,
16-
Separator,
1713
Text,
1814
View,
1915
XStack,
@@ -27,31 +23,9 @@ export default function SettingsScreen() {
2723
const links = [
2824
{ path: 'account', url: false, name: 'Account', icon: 'person-outline', id: 1 },
2925
{ path: 'bio', url: false, name: 'Bio', icon: 'person-circle-outline', id: 2 },
30-
// { path: "camera", url: false, name: "Camera", icon: "camera-outline", id: 4 },
31-
// { path: "federation", url: false, name: "Federation", icon: "planet-outline", id: 5 },
32-
// { path: "notifications", url: false, name: "Notifications", icon: "notifications-circle-outline", id: 6 },
26+
{ path: 'app', url: false, name: 'App Settings', icon: 'settings-outline', id: 10 },
3327
]
3428

35-
if (Platform.OS === 'ios') {
36-
links.push({
37-
path: 'app',
38-
url: false,
39-
name: 'App Settings',
40-
icon: 'settings-outline',
41-
id: 10,
42-
})
43-
}
44-
45-
if (Platform.OS === 'android') {
46-
links.push({
47-
path: 'android/updates',
48-
url: false,
49-
name: 'Check for updates',
50-
icon: 'logo-android',
51-
id: 10,
52-
})
53-
}
54-
5529
const helpLinks = [
5630
{
5731
path: '',
@@ -60,8 +34,6 @@ export default function SettingsScreen() {
6034
icon: 'help-circle-outline',
6135
id: 7,
6236
},
63-
// { path: "feedback", url: false, name: "Suggest Feature", icon: "color-wand-outline", id: 8 },
64-
// { path: "feedback/bug", url: false, name: "Report Bug", icon: "bug-outline", id: 9 },
6537
]
6638

6739
const openWebLink = async (url) => {

0 commit comments

Comments
 (0)