Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(mobile): center toast actions beside wrapped messages #24986

MergedPixPMusic(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/24986/headmerged by juliusmarminge View on GitHub

Showing 1 changed file with 1 addition and 1 deletion.

x
0 of 1 viewed, 1 left
1 addition and 1 deletionapps/mobile/src/components/ui/Toast.tsxModified
View file
@@ -93,7 +93,7 @@
</AppText>
) : null}
</View>
- {inlineAction ? action : null}
+ {inlineAction && action ? <View className="self-center">{action}</View> : null}
{props.onDismiss && props.dismissMode !== "swipe" ? (
<IconButton accessibilityLabel="Dismiss message" icon="xmark" onPress={props.onDismiss} />
) : null}