Skip to content

Commit 92958f7

Browse files
authored
Merge pull request #620 from GetStream/fix-confirmation-popups-android
CRNS-312: Fix android confirmation popups on SampleApp
2 parents e328f44 + c0f58fe commit 92958f7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

examples/SampleApp/src/components/ConfirmationBottomSheet.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react';
2-
import { StyleSheet, Text, TouchableOpacity, View } from 'react-native';
2+
import { StyleSheet, Text, View } from 'react-native';
3+
import { TouchableOpacity } from '@gorhom/bottom-sheet';
34
import { useSafeAreaInsets } from 'react-native-safe-area-context';
45
import { Delete, UserMinus, useTheme } from 'stream-chat-react-native';
56

@@ -11,17 +12,15 @@ import {
1112

1213
const styles = StyleSheet.create({
1314
actionButtonLeft: {
14-
flex: 1,
1515
padding: 20,
1616
},
1717
actionButtonRight: {
18-
alignItems: 'flex-end',
19-
flex: 1,
2018
padding: 20,
2119
},
2220
actionButtonsContainer: {
2321
borderTopWidth: 1,
2422
flexDirection: 'row',
23+
justifyContent: 'space-between',
2524
},
2625
container: {
2726
height: 224,

0 commit comments

Comments
 (0)