mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
clean up
This commit is contained in:
@@ -21,7 +21,7 @@ const ActionSheetWrapper = ({
|
|||||||
onOpen,
|
onOpen,
|
||||||
closeOnTouchBackdrop = true,
|
closeOnTouchBackdrop = true,
|
||||||
onHasReachedTop,
|
onHasReachedTop,
|
||||||
keyboardMode,
|
keyboardMode
|
||||||
}) => {
|
}) => {
|
||||||
const [state] = useTracked();
|
const [state] = useTracked();
|
||||||
const {colors} = state;
|
const {colors} = state;
|
||||||
@@ -29,7 +29,6 @@ const ActionSheetWrapper = ({
|
|||||||
const largeTablet = deviceMode === 'tablet';
|
const largeTablet = deviceMode === 'tablet';
|
||||||
const smallTablet = deviceMode === 'smallTablet';
|
const smallTablet = deviceMode === 'smallTablet';
|
||||||
const dimensions = useSettingStore(state => state.dimensions);
|
const dimensions = useSettingStore(state => state.dimensions);
|
||||||
|
|
||||||
const insets = useSafeAreaInsets();
|
const insets = useSafeAreaInsets();
|
||||||
|
|
||||||
let width = dimensions.width > 600 ? 600 : 500;
|
let width = dimensions.width > 600 ? 600 : 500;
|
||||||
@@ -44,6 +43,8 @@ const ActionSheetWrapper = ({
|
|||||||
borderTopRightRadius: 10,
|
borderTopRightRadius: 10,
|
||||||
borderTopLeftRadius: 10,
|
borderTopLeftRadius: 10,
|
||||||
alignSelf: 'center',
|
alignSelf: 'center',
|
||||||
|
borderBottomRight: 0,
|
||||||
|
borderBottomLeft: 0
|
||||||
};
|
};
|
||||||
}, [colors.bg, gestureEnabled]);
|
}, [colors.bg, gestureEnabled]);
|
||||||
|
|
||||||
|
|||||||
@@ -747,7 +747,7 @@ const LoginDialog = () => {
|
|||||||
style={{
|
style={{
|
||||||
flexShrink: 1
|
flexShrink: 1
|
||||||
}}>
|
}}>
|
||||||
<Heading size={SIZE.md}>{status}Logging in</Heading>
|
<Heading size={SIZE.md}>{status}</Heading>
|
||||||
<Paragraph style={{flexWrap: 'wrap'}} color={colors.icon}>
|
<Paragraph style={{flexWrap: 'wrap'}} color={colors.icon}>
|
||||||
{current.loading}{' '}
|
{current.loading}{' '}
|
||||||
{!current.showLoader ? null : (
|
{!current.showLoader ? null : (
|
||||||
|
|||||||
Reference in New Issue
Block a user