mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix all actionsheet dialogs on tablet
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import React, {useEffect, useState} from 'react';
|
||||
import {Keyboard} from 'react-native';
|
||||
import {ScrollView} from 'react-native';
|
||||
import {
|
||||
ActivityIndicator,
|
||||
Clipboard,
|
||||
@@ -511,7 +512,7 @@ export const ActionSheetComponent = ({
|
||||
};
|
||||
|
||||
return (
|
||||
<View
|
||||
<ScrollView
|
||||
onLayout={() => {
|
||||
if (!item.dateDeleted) {
|
||||
localRefresh(item.type, true);
|
||||
@@ -521,6 +522,8 @@ export const ActionSheetComponent = ({
|
||||
paddingBottom: 30,
|
||||
backgroundColor: colors.bg,
|
||||
paddingHorizontal: 0,
|
||||
borderBottomRightRadius:DDS.isLargeTablet()? 10 : 1,
|
||||
borderBottomLeftRadius:DDS.isLargeTablet()? 10 : 1
|
||||
}}>
|
||||
<TouchableOpacity
|
||||
style={{
|
||||
@@ -763,6 +766,6 @@ export const ActionSheetComponent = ({
|
||||
/>
|
||||
) : null}
|
||||
<Toast context="local" />
|
||||
</View>
|
||||
</ScrollView>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user