Skip to content

Commit 066e494

Browse files
Merge upstream develop
2 parents 8ff4820 + 30c60c6 commit 066e494

32 files changed

Lines changed: 336 additions & 122 deletions

apps/polycentric/app.config.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,18 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
1111
slug: 'polycentric',
1212
version: '0.0.1',
1313
orientation: 'portrait',
14-
icon: './src/common/assets/images/PolycentricLogoWhite1024.png',
14+
icon: './src/common/assets/images/app-icons/android-icon-foreground.png',
1515
scheme: 'polycentric',
1616
web: {
1717
output: 'server',
1818
},
1919
userInterfaceStyle: 'automatic',
2020
ios: {
21+
icon: {
22+
dark: './src/common/assets/images/app-icons/ios-icon-dark.png',
23+
light: './src/common/assets/images/app-icons/ios-icon-default.png',
24+
tinted: './src/common/assets/images/app-icons/ios-icon-monochrome.png',
25+
},
2126
supportsTablet: true,
2227
bundleIdentifier: ID,
2328
infoPlist: {
@@ -30,10 +35,11 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
3035
android: {
3136
adaptiveIcon: {
3237
foregroundImage:
33-
'./src/common/assets/images/PolycentricLogoTransparent1024.png',
38+
'./src/common/assets/images/app-icons/android-icon-foreground.png',
39+
monochromeImage:
40+
'./src/common/assets/images/app-icons/android-icon-monochrome.png',
3441
backgroundColor: '#F2F5F9',
3542
},
36-
edgeToEdgeEnabled: true,
3743
package: ID,
3844
permissions: ['android.permission.CAMERA'],
3945
},

apps/polycentric/app/(tabs)/_layout.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ export default function TabsLayout() {
3333
<NativeTabs.Trigger.Label>Activity</NativeTabs.Trigger.Label>
3434
<NativeTabs.Trigger.Icon sf="bell.fill" md="notifications" />
3535
</NativeTabs.Trigger>
36-
37-
<NativeTabs.Trigger name="settings">
38-
<NativeTabs.Trigger.Label>Settings</NativeTabs.Trigger.Label>
39-
<NativeTabs.Trigger.Icon sf="gearshape.fill" md="settings" />
40-
</NativeTabs.Trigger>
4136
</NativeTabs>
4237
);
4338
}
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
export default function Activity() {
2-
return null;
3-
}
1+
export { default } from '@/src/features/activity/ActivityScreen';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from '@/src/features/composer/ComposeScreen';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from '@/src/features/profile/ProfileScreen';

apps/polycentric/app/(tabs)/settings/_layout.tsx

Lines changed: 0 additions & 18 deletions
This file was deleted.

apps/polycentric/app/_layout.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,7 @@ function RootStack() {
4545
contentStyle: { backgroundColor: 'transparent' },
4646
}}
4747
/>
48-
<Stack.Screen
49-
name="settings"
50-
options={{
51-
presentation: 'transparentModal',
52-
animation: 'none',
53-
contentStyle: { backgroundColor: 'transparent' },
54-
}}
55-
/>
48+
<Stack.Screen name="settings" />
5649
<Stack.Screen
5750
name="[identityId]/edit"
5851
options={{
Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1-
import { Slot } from 'expo-router';
1+
import { Stack } from 'expo-router';
22

3-
export default function SettingsOverlayLayout() {
4-
return <Slot />;
3+
const sheetScreenOptions = {
4+
presentation: 'transparentModal',
5+
animation: 'none',
6+
contentStyle: { backgroundColor: 'transparent' },
7+
} as const;
8+
9+
export default function SettingsLayout() {
10+
return (
11+
<Stack screenOptions={{ headerShown: false }}>
12+
<Stack.Screen name="index" />
13+
<Stack.Screen name="identity" options={sheetScreenOptions} />
14+
<Stack.Screen name="pair-identity" options={sheetScreenOptions} />
15+
<Stack.Screen name="servers" options={sheetScreenOptions} />
16+
</Stack>
17+
);
518
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)