Always show welcome copy on welcome screen

Drop the "Connecting…" placeholder shown while reconnecting to saved
hosts. The screen now keeps the welcome copy and add-host actions
visible until the auto-redirect to an online host fires.
This commit is contained in:
Mohamed Boudra
2026-05-03 15:05:59 +07:00
parent 086bc2beee
commit 02adadbbc8

View File

@@ -248,8 +248,6 @@ export function WelcomeScreen({ onHostAdded }: WelcomeScreenProps) {
}, },
]; ];
const isConnectingToSavedHosts = hosts.length > 0 && !anyOnlineServerId;
const scrollContentContainerStyle = useMemo( const scrollContentContainerStyle = useMemo(
() => [styles.container, { paddingBottom: theme.spacing[6] + insets.bottom }], () => [styles.container, { paddingBottom: theme.spacing[6] + insets.bottom }],
[theme.spacing, insets.bottom], [theme.spacing, insets.bottom],
@@ -266,10 +264,6 @@ export function WelcomeScreen({ onHostAdded }: WelcomeScreenProps) {
<View style={styles.content}> <View style={styles.content}>
<PaseoLogo size={96} /> <PaseoLogo size={96} />
<View style={styles.copyBlock}> <View style={styles.copyBlock}>
{isConnectingToSavedHosts ? (
<Text style={styles.subtitle}>Connecting</Text>
) : (
<>
<Text style={styles.title}>Welcome to Paseo</Text> <Text style={styles.title}>Welcome to Paseo</Text>
<Text style={styles.subtitle}>Connect your computer to get started</Text> <Text style={styles.subtitle}>Connect your computer to get started</Text>
{isNative ? ( {isNative ? (
@@ -278,8 +272,6 @@ export function WelcomeScreen({ onHostAdded }: WelcomeScreenProps) {
<ExternalLink size={14} color={theme.colors.accent} /> <ExternalLink size={14} color={theme.colors.accent} />
</Pressable> </Pressable>
) : null} ) : null}
</>
)}
</View> </View>
<View style={styles.actions}> <View style={styles.actions}>