Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/mobile/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ const createConfig = (): Omit<ExpoConfig, 'extra'> & { extra: { eas: EASConfig }
slug: process.env.EXPO_PUBLIC_APP_SLUG as string,
scheme: process.env.EXPO_PUBLIC_APP_SCHEME as string,
owner: process.env.EXPO_PUBLIC_APP_OWNER as string,
version: '1.3.0',
version: '1.4.0',
orientation: 'portrait',
icon: './assets/icon.png',
runtimeVersion: '1.3.0',
runtimeVersion: '1.4.0',
experiments: {
reactCompiler: true,
},
Expand All @@ -42,7 +42,7 @@ const createConfig = (): Omit<ExpoConfig, 'extra'> & { extra: { eas: EASConfig }
supportsTablet: false,
buildNumber: appEnv.select({
default: '18',
production: '10',
production: '12',
}),
config: {
usesNonExemptEncryption: false,
Expand All @@ -52,7 +52,7 @@ const createConfig = (): Omit<ExpoConfig, 'extra'> & { extra: { eas: EASConfig }
package: appId,
versionCode: appEnv.select({
default: 15,
production: 10,
production: 12,
}),
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon.png',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ export default function ChatMessagesList({
//but when a small distance has been scrolled.
const isNearBottom = scrollY + containerHeight >= contentHeight - 100;

if (!isResponseGenerating) {
shouldAutoscrollToBottomRef.current = isNearBottom;
}

if (isNearBottom || isScrollingUp) {
animateScrollToBottom(0);
} else if (isScrollToBottomAvailable.current && !isInputFocusing) {
Expand Down
Loading