mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 14:39:34 +01:00
remove bottom padding from sheet
This commit is contained in:
@@ -1,6 +1,13 @@
|
|||||||
import React, {createRef} from 'react';
|
import React, {createRef} from 'react';
|
||||||
import {Keyboard, StyleSheet, TouchableOpacity, View,TextInput} from 'react-native';
|
import {
|
||||||
import {FlatList, ScrollView, } from 'react-native-gesture-handler';
|
Keyboard,
|
||||||
|
StyleSheet,
|
||||||
|
TouchableOpacity,
|
||||||
|
View,
|
||||||
|
TextInput,
|
||||||
|
Platform
|
||||||
|
} from 'react-native';
|
||||||
|
import {FlatList, ScrollView} from 'react-native-gesture-handler';
|
||||||
import {notesnook} from '../../../e2e/test.ids';
|
import {notesnook} from '../../../e2e/test.ids';
|
||||||
import {useMenuStore} from '../../provider/stores';
|
import {useMenuStore} from '../../provider/stores';
|
||||||
import {DDS} from '../../services/DeviceDetection';
|
import {DDS} from '../../services/DeviceDetection';
|
||||||
@@ -368,8 +375,8 @@ export class AddNotebookDialog extends React.Component {
|
|||||||
this.actionSheetRef.current?.handleChildScrollEnd();
|
this.actionSheetRef.current?.handleChildScrollEnd();
|
||||||
}}
|
}}
|
||||||
keyboardShouldPersistTaps="always"
|
keyboardShouldPersistTaps="always"
|
||||||
keyboardDismissMode="none"
|
keyboardDismissMode="interactive"
|
||||||
ListFooterComponent={<View style={{height:50}} />}
|
ListFooterComponent={<View style={{height: 50}} />}
|
||||||
renderItem={({item, index}) => (
|
renderItem={({item, index}) => (
|
||||||
<TopicItem
|
<TopicItem
|
||||||
item={item}
|
item={item}
|
||||||
@@ -402,15 +409,16 @@ export class AddNotebookDialog extends React.Component {
|
|||||||
type="accent"
|
type="accent"
|
||||||
onPress={this.addNewNotebook}
|
onPress={this.addNewNotebook}
|
||||||
/>
|
/>
|
||||||
|
{/*
|
||||||
{/* <View
|
{Platform.OS === 'ios' && (
|
||||||
|
<View
|
||||||
style={{
|
style={{
|
||||||
height:35
|
height: 40
|
||||||
}}
|
}}
|
||||||
/> */}
|
/>
|
||||||
|
)} */}
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
|
|
||||||
<Toast context="local" />
|
<Toast context="local" />
|
||||||
</SheetWrapper>
|
</SheetWrapper>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user