Skip to content

Commit 289b25a

Browse files
committed
fix(android): Round the thread loading pane
1 parent a3abb52 commit 289b25a

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎apps/mobile/src/features/threads/ThreadRouteScreen.tsx‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,15 @@ function firstRouteParam(value: string | string[] | undefined): string | null {
209209
}
210210

211211
function OpeningThreadLoadingScreen() {
212-
return <LoadingScreen message="Opening thread…" messagePlacement="above-spinner" />;
212+
const content = <LoadingScreen message="Opening thread…" messagePlacement="above-spinner" />;
213+
214+
if (Platform.OS !== "android") return content;
215+
216+
return (
217+
<View className="flex-1 bg-header">
218+
<View className="flex-1 overflow-hidden rounded-t-[28px]">{content}</View>
219+
</View>
220+
);
213221
}
214222

215223
type ThreadRouteScreenRouteProps = StaticScreenProps<{

0 commit comments

Comments
 (0)