Skip to content

Commit c670e18

Browse files
committed
Fix fonts breaking on android
1 parent 371fe71 commit c670e18

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

demos/react-native-supabase-group-chat/app.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ const config: ExpoConfig = {
2929
},
3030
ios: {
3131
supportsTablet: true,
32-
bundleIdentifier: "com.powersync.example"
32+
bundleIdentifier: "com.powersync.powerchat"
3333
},
3434
android: {
3535
adaptiveIcon: {
3636
foregroundImage: "./assets/adaptive-icon.png",
3737
backgroundColor: "#ffffff"
3838
},
39-
package: "com.powersync.example"
39+
package: "com.powersync.powerchat"
4040
},
4141
extra: {
4242
eas: {

demos/react-native-supabase-group-chat/src/tamagui.config.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
import { createTamagui } from "@tamagui/core";
22
import { shorthands } from "@tamagui/shorthands";
3+
import { createInterFont } from "@tamagui/font-inter";
34
import { themes, tokens } from "@tamagui/themes";
45
import { config } from "@/lib/config";
56

7+
const heading = createInterFont();
8+
const body = createInterFont();
9+
610
export const appConfig = createTamagui({
711
themes,
812
defaultTheme: "dark",
@@ -15,7 +19,11 @@ export const appConfig = createTamagui({
1519
brand2: config.brand2
1620
}
1721
},
18-
shorthands
22+
shorthands,
23+
fonts: {
24+
heading,
25+
body,
26+
}
1927
});
2028

2129
export default appConfig;

0 commit comments

Comments
 (0)