Mention bubble cut off on server list (Android) (#6827)
This commit is contained in:
parent
5e3e7b151e
commit
506ab06638
2 changed files with 3 additions and 3 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => ({
|
|||
borderWidth: 1,
|
||||
height: 72,
|
||||
justifyContent: 'center',
|
||||
width: 45,
|
||||
width: 50,
|
||||
},
|
||||
unread: {
|
||||
top: -2,
|
||||
|
|
|
|||
Loading…
Reference in a new issue