Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix icons ui on iOS

ammarahm-ed26f7801f6e60
diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.js
index db35b8658..9882e9689 100644
--- a/apps/mobile/src/components/ActionSheetComponent/index.js
+++ b/apps/mobile/src/components/ActionSheetComponent/index.js
@@ -555,9 +555,8 @@ export const ActionSheetComponent = ({
? (400 - 24) / rowItems.length
: (w - 25) / rowItems.length,
}}>
- <Icon
+ <View
style={{
- width: 50,
height: 40,
borderRadius: 100,
justifyContent: 'center',
@@ -565,11 +564,14 @@ export const ActionSheetComponent = ({
textAlign: 'center',
textAlignVertical: 'center',
marginBottom: DDS.isTab ? 7 : 3.5,
- }}
- name={rowItem.icon}
- size={DDS.isTab ? SIZE.xl : SIZE.lg}
- color={rowItem.name === 'Delete' ? colors.errorText : colors.accent}
- />
+ }}>
+ <Icon
+ name={rowItem.icon}
+ size={DDS.isTab ? SIZE.xl : SIZE.lg}
+ color={rowItem.name === 'Delete' ? colors.errorText : colors.accent}
+ />
+ </View>
+
<Paragraph>{rowItem.name}</Paragraph>
</TouchableOpacity>
);