git ssb

1+

Daan Patchwork / manyverse



Commit d91224a64873777e3ea4bd8ec9f08b7ea3c4db62

ux: [ios] fix vertical space of peers row

David Gomez authored on 7/14/2020, 12:52:51 PM
Andre Staltz committed on 8/21/2020, 11:59:18 AM
Parent: 4d515bba30e54fb80e0f9c002fbcdd94fe268eb0

Files changed

src/frontend/screens/central/connections-tab/view/Body/ListOfPeers.tschanged
src/frontend/screens/central/connections-tab/view/Body/ListOfPeers.tsView
@@ -4,18 +4,25 @@
44 * License, v. 2.0. If a copy of the MPL was not distributed with this
55 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
66
77 import {Component} from 'react';
8-import {View, StyleSheet, StyleProp, ViewStyle, Animated} from 'react-native';
8+import {
9+ View,
10+ StyleSheet,
11+ StyleProp,
12+ ViewStyle,
13+ Animated,
14+ Platform,
15+} from 'react-native';
916 import {h} from '@cycle/react';
1017 import {Dimensions} from '../../../../../global-styles/dimens';
1118 import {StagedPeerKV, PeerKV} from '../../../../../ssb/types';
1219 import PopList, {Props as PopListProps} from './PopList';
1320 import StagedItem, {Props as StagedItemProps} from './StagedItem';
1421 import RoomItem, {Props as RoomItemProps} from './RoomItem';
1522 import ConnectionItem from './ConnectionItem';
1623
17-const SHORT_ITEM_HEIGHT = 48;
24+const SHORT_ITEM_HEIGHT = Platform.OS === 'android' ? 48 : 50;
1825 const ITEM_HEIGHT = 70;
1926
2027 export const styles = StyleSheet.create({
2128 container: {

Built with git-ssb-web