Mention bubble cut off on server list (Android) (#6827)

This commit is contained in:
Elias Nahum 2022-12-06 18:55:47 +02:00 committed by GitHub
parent 5e3e7b151e
commit 506ab06638
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -107,14 +107,14 @@ const ChannelListHeader = ({
const intl = useIntl();
const insets = useSafeAreaInsets();
const serverDisplayName = useServerDisplayName();
const marginLeft = useSharedValue(iconPad ? 44 : 0);
const marginLeft = useSharedValue(iconPad ? 50 : 0);
const styles = getStyles(theme);
const animatedStyle = useAnimatedStyle(() => ({
marginLeft: withTiming(marginLeft.value, {duration: 350}),
}), []);
const serverUrl = useServerUrl();
useEffect(() => {
marginLeft.value = iconPad ? 44 : 0;
marginLeft.value = iconPad ? 50 : 0;
}, [iconPad]);
const onPress = useCallback(() => {

View file

@ -101,7 +101,7 @@ const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => ({
borderWidth: 1,
height: 72,
justifyContent: 'center',
width: 45,
width: 50,
},
unread: {
top: -2,